[empathy/mc5: 150/483] Get the connection status, not the presence status string



commit 0b269dddf9534936735567c8f23519f0f88c949d
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Wed Jul 22 00:06:14 2009 +0100

    Get the connection status, not the presence status string

 libempathy-gtk/empathy-account-chooser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c
index ec2c2b1..fa05bbc 100644
--- a/libempathy-gtk/empathy-account-chooser.c
+++ b/libempathy-gtk/empathy-account-chooser.c
@@ -769,7 +769,7 @@ empathy_account_chooser_filter_is_connected (EmpathyAccount *account,
 {
 	TpConnectionStatus  status;
 
-	g_object_get (account, "status", &status, NULL);
+	g_object_get (account, "connection-status", &status, NULL);
 
 	return status == TP_CONNECTION_STATUS_CONNECTED;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]