aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-04-06 12:55:54 -0500
committerTed Gould <ted@gould.cx>2012-04-06 12:55:54 -0500
commitb480c247e62e6e078afc7997922ac7d1a757bcb4 (patch)
tree696c0e6af90433a7d93c17fe9b1fb19a0ed1be63 /src
parent618e46358a13eca06d26aa681fd11afedee8cfb5 (diff)
downloadayatana-indicator-messages-b480c247e62e6e078afc7997922ac7d1a757bcb4.tar.gz
ayatana-indicator-messages-b480c247e62e6e078afc7997922ac7d1a757bcb4.tar.bz2
ayatana-indicator-messages-b480c247e62e6e078afc7997922ac7d1a757bcb4.zip
Instead of using disconnected in MC5 use offline
Diffstat (limited to 'src')
-rw-r--r--src/status-provider-mc5.c6
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;