]> git.0d.be Git - empathy.git/commitdiff
Get the connection status, not the presence status string
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Tue, 21 Jul 2009 23:06:14 +0000 (00:06 +0100)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Tue, 21 Jul 2009 23:06:14 +0000 (00:06 +0100)
libempathy-gtk/empathy-account-chooser.c

index ec2c2b18a7efb6c5bf523af614bebf3f79aabb30..fa05bbcc95ef708ada71525575299df3d4e32b85 100644 (file)
@@ -769,7 +769,7 @@ empathy_account_chooser_filter_is_connected (EmpathyAccount *account,
 {
        TpConnectionStatus  status;
 
 {
        TpConnectionStatus  status;
 
-       g_object_get (account, "status", &status, NULL);
+       g_object_get (account, "connection-status", &status, NULL);
 
        return status == TP_CONNECTION_STATUS_CONNECTED;
 }
 
        return status == TP_CONNECTION_STATUS_CONNECTED;
 }