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/empathy-status-icon.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/empathy-status-icon.c')
-rw-r--r-- | libempathy-gtk/empathy-status-icon.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-status-icon.c b/libempathy-gtk/empathy-status-icon.c index e22156a00..0aa0a76a5 100644 --- a/libempathy-gtk/empathy-status-icon.c +++ b/libempathy-gtk/empathy-status-icon.c @@ -28,8 +28,6 @@ #include <gtk/gtk.h> #include <glade/glade.h> -#include <libtelepathy/tp-helpers.h> - #include <libmissioncontrol/mission-control.h> #include <libempathy/gossip-debug.h> @@ -102,7 +100,7 @@ empathy_status_icon_init (EmpathyStatusIcon *icon) priv = GET_PRIV (icon); priv->icon = gtk_status_icon_new (); - priv->mc = mission_control_new (tp_get_bus ()); + priv->mc = gossip_mission_control_new (); status_icon_create_menu (icon); @@ -182,10 +180,8 @@ status_icon_presence_changed_cb (MissionControl *mc, g_free (status); if (state < MC_PRESENCE_AVAILABLE) { - gtk_widget_set_sensitive (priv->status_item, FALSE); gtk_widget_set_sensitive (priv->message_item, FALSE); } else { - gtk_widget_set_sensitive (priv->status_item, TRUE); gtk_widget_set_sensitive (priv->message_item, TRUE); } } |