← Back to team overview

ayatana-commits team mailing list archive

[Branch ~indicator-applet-developers/indicator-me/trunk] Rev 134: Don't disable the status menus for offline, only for disconnected. (LP: #550824)

 

------------------------------------------------------------
revno: 134
fixes bug(s): https://launchpad.net/bugs/550824
committer: Ken VanDine <ken.vandine@xxxxxxxxxxxxx>
branch nick: indicator-me
timestamp: Wed 2011-03-02 16:07:10 -0500
message:
  Don't disable the status menus for offline, only for disconnected. (LP: #550824)
modified:
  src/me-service.c


--
lp:indicator-me
https://code.launchpad.net/~indicator-applet-developers/indicator-me/trunk

Your team ayatana-commits is subscribed to branch lp:indicator-me.
To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/indicator-me/trunk/+edit-subscription
=== modified file 'src/me-service.c'
--- src/me-service.c	2011-02-01 14:06:37 +0000
+++ src/me-service.c	2011-03-02 21:07:10 +0000
@@ -106,7 +106,7 @@
 		StatusProviderStatus localstatus = status_provider_get_status(status_providers[i]);
     g_debug ("provider[%d]: %s", i, status_strings[localstatus]);
 
-    if (localstatus >= STATUS_PROVIDER_STATUS_OFFLINE)
+    if (localstatus > STATUS_PROVIDER_STATUS_OFFLINE)
       /* offline and disconnected is similar for some providers
          so it's not meaningful to determine the 'indeterminate' status
       */