[empathy/mc5: 393/483] rename status-reason to connection-status-reason and notify connection-status{-reason, } when changes



commit 955e5f31d9cf3056777ceaf321b8ed4dc33b06cd
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Mon Aug 17 17:55:33 2009 +0100

    rename status-reason to connection-status-reason and notify connection-status{-reason,} when changes happen

 libempathy/empathy-account.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-account.c b/libempathy/empathy-account.c
index b82080e..7d89f20 100644
--- a/libempathy/empathy-account.c
+++ b/libempathy/empathy-account.c
@@ -287,7 +287,8 @@ empathy_account_update (EmpathyAccount *account,
       g_signal_emit (account, signals[STATUS_CHANGED], 0,
         old_s, priv->connection_status, priv->reason);
 
-      g_object_notify (G_OBJECT (account), "status");
+      g_object_notify (G_OBJECT (account), "connection-status");
+      g_object_notify (G_OBJECT (account), "connection-status-reason");
     }
 
   if (presence_changed)
@@ -560,7 +561,7 @@ empathy_account_class_init (EmpathyAccountClass *empathy_account_class)
       G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
 
   g_object_class_install_property (object_class, PROP_CONNECTION_STATUS_REASON,
-    g_param_spec_uint ("status-reason",
+    g_param_spec_uint ("connection-status-reason",
       "ConnectionStatusReason",
       "The account connections status reason",
       0,



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