diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-04-09 13:44:34 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-04-09 13:44:34 -0500 |
commit | 07adbf353ce5ab02f1c95ecc6eea71afc1190079 (patch) | |
tree | 696c0e6af90433a7d93c17fe9b1fb19a0ed1be63 /src | |
parent | 618e46358a13eca06d26aa681fd11afedee8cfb5 (diff) | |
parent | b480c247e62e6e078afc7997922ac7d1a757bcb4 (diff) | |
download | ayatana-indicator-messages-07adbf353ce5ab02f1c95ecc6eea71afc1190079.tar.gz ayatana-indicator-messages-07adbf353ce5ab02f1c95ecc6eea71afc1190079.tar.bz2 ayatana-indicator-messages-07adbf353ce5ab02f1c95ecc6eea71afc1190079.zip |
merge lp:~ted/indicator-messages/telepathy-offline to make it so that when your session launches you're offline instead of disconnected. That way the items are visible and you can go online.
Diffstat (limited to 'src')
-rw-r--r-- | src/status-provider-mc5.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/status-provider-mc5.c b/src/status-provider-mc5.c index e70496c..3f23565 100644 --- a/src/status-provider-mc5.c +++ b/src/status-provider-mc5.c @@ -137,7 +137,7 @@ status_provider_mc5_init (StatusProviderMC5 *self) { StatusProviderMC5Private * priv = STATUS_PROVIDER_MC5_GET_PRIVATE(self); - priv->status = STATUS_PROVIDER_STATUS_DISCONNECTED; + priv->status = STATUS_PROVIDER_STATUS_OFFLINE; priv->manager = NULL; DBusGConnection * bus = dbus_g_bus_get(DBUS_BUS_SESSION, NULL); @@ -219,7 +219,7 @@ dbus_namechange (DBusGProxy * proxy, const gchar * name, const gchar * prev, con priv->manager = NULL; } - priv->status = STATUS_PROVIDER_STATUS_DISCONNECTED; + priv->status = STATUS_PROVIDER_STATUS_OFFLINE; g_signal_emit(G_OBJECT(self), STATUS_PROVIDER_SIGNAL_STATUS_CHANGED_ID, 0, priv->status, TRUE); } @@ -282,7 +282,7 @@ get_status (StatusProvider * sp) StatusProviderMC5Private * priv = STATUS_PROVIDER_MC5_GET_PRIVATE(sp); if (priv->manager == NULL) { - return STATUS_PROVIDER_STATUS_DISCONNECTED; + return STATUS_PROVIDER_STATUS_OFFLINE; } return priv->status; |