diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-18 00:55:33 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-18 00:55:33 +0800 |
commit | 955e5f31d9cf3056777ceaf321b8ed4dc33b06cd (patch) | |
tree | 86f3b1a19972762d8ce78ee4780241815828443c | |
parent | 31ef7d012ce3fe7ab4872f4864deaf4230feede1 (diff) | |
download | gsoc2013-empathy-955e5f31d9cf3056777ceaf321b8ed4dc33b06cd.tar gsoc2013-empathy-955e5f31d9cf3056777ceaf321b8ed4dc33b06cd.tar.gz gsoc2013-empathy-955e5f31d9cf3056777ceaf321b8ed4dc33b06cd.tar.bz2 gsoc2013-empathy-955e5f31d9cf3056777ceaf321b8ed4dc33b06cd.tar.lz gsoc2013-empathy-955e5f31d9cf3056777ceaf321b8ed4dc33b06cd.tar.xz gsoc2013-empathy-955e5f31d9cf3056777ceaf321b8ed4dc33b06cd.tar.zst gsoc2013-empathy-955e5f31d9cf3056777ceaf321b8ed4dc33b06cd.zip |
rename status-reason to connection-status-reason and notify connection-status{-reason,} when changes happen
-rw-r--r-- | 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 b82080ee0..7d89f20fc 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, |