diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-13 02:04:01 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-13 02:04:01 +0800 |
commit | 321de615c0d7aaecf7f87b31fae65b5b75f0e32e (patch) | |
tree | 25d012f82bb5b54e5e06a0b51de1722314c67f2a /libempathy-gtk/gossip-accounts-dialog.c | |
parent | 104362fe34c3881f6956844de2a0403f0ea1b3d0 (diff) | |
download | gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar.gz gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar.bz2 gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar.lz gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar.xz gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar.zst gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.zip |
[darcs-to-svn @ gossip_mission_control_new() returns a MissionControl sigleton object and update throbber state when there is connecting accounts]
svn path=/trunk/; revision=47
Diffstat (limited to 'libempathy-gtk/gossip-accounts-dialog.c')
-rw-r--r-- | libempathy-gtk/gossip-accounts-dialog.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libempathy-gtk/gossip-accounts-dialog.c b/libempathy-gtk/gossip-accounts-dialog.c index 5155ced12..6d7934544 100644 --- a/libempathy-gtk/gossip-accounts-dialog.c +++ b/libempathy-gtk/gossip-accounts-dialog.c @@ -37,7 +37,6 @@ #include <libmissioncontrol/mission-control.h> #include <libmissioncontrol/mc-account-monitor.h> #include <libtelepathy/tp-constants.h> -#include <libtelepathy/tp-helpers.h> #include <libempathy/gossip-debug.h> #include <libempathy/gossip-paths.h> @@ -676,6 +675,10 @@ accounts_dialog_status_changed_cb (MissionControl *mc, model = gtk_tree_view_get_model (view); account = mc_account_lookup (unique_name); + gossip_debug (DEBUG_DOMAIN, "Status changed for account %s: " + "status=%d presence=%d", + unique_name, status, presence); + for (ok = gtk_tree_model_get_iter_first (model, &iter); ok; ok = gtk_tree_model_iter_next (model, &iter)) { @@ -1005,7 +1008,7 @@ gossip_accounts_dialog_show (void) gtk_widget_show (dialog->combobox_profile); /* Set up signalling */ - dialog->mc = mission_control_new (tp_get_bus ()); + dialog->mc = gossip_mission_control_new (); dialog->monitor = mc_account_monitor_new (); /* FIXME: connect account-enabled/disabled too */ |