diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-05-17 00:26:31 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-05-17 00:26:31 +0800 |
commit | 621a29e9f0066da266e536d39e5bacc2d3e36c21 (patch) | |
tree | 9dc5cc42e6d3ce360ac7be635a7c3b0b59419d9e /libempathy-gtk/empathy-status-icon.c | |
parent | c824772f73e10cd5f4e317fcd1d7cce0c510318e (diff) | |
download | gsoc2013-empathy-621a29e9f0066da266e536d39e5bacc2d3e36c21.tar gsoc2013-empathy-621a29e9f0066da266e536d39e5bacc2d3e36c21.tar.gz gsoc2013-empathy-621a29e9f0066da266e536d39e5bacc2d3e36c21.tar.bz2 gsoc2013-empathy-621a29e9f0066da266e536d39e5bacc2d3e36c21.tar.lz gsoc2013-empathy-621a29e9f0066da266e536d39e5bacc2d3e36c21.tar.xz gsoc2013-empathy-621a29e9f0066da266e536d39e5bacc2d3e36c21.tar.zst gsoc2013-empathy-621a29e9f0066da266e536d39e5bacc2d3e36c21.zip |
2006-05-16 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-status-icon.c:
* libempathy/empathy-idle.c:
* libempathy/empathy-idle.h:
* libempathy/Makefile.am:
* po/POTFILES.in: New object EmpathyIdle to manage autoaway and
extended autoaway states.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@70 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk/empathy-status-icon.c')
-rw-r--r-- | libempathy-gtk/empathy-status-icon.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-status-icon.c b/libempathy-gtk/empathy-status-icon.c index 5b764c6cf..21082276a 100644 --- a/libempathy-gtk/empathy-status-icon.c +++ b/libempathy-gtk/empathy-status-icon.c @@ -24,7 +24,6 @@ #include <string.h> -#include <glib/gi18n.h> #include <gtk/gtk.h> #include <glade/glade.h> @@ -33,6 +32,7 @@ #include <libempathy/gossip-debug.h> #include <libempathy/gossip-utils.h> #include <libempathy/gossip-conf.h> +#include <libempathy/empathy-idle.h> #include "empathy-status-icon.h" #include "gossip-presence-chooser.h" @@ -40,6 +40,7 @@ #include "gossip-ui-utils.h" #include "gossip-accounts-dialog.h" + #define GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \ EMPATHY_TYPE_STATUS_ICON, EmpathyStatusIconPriv)) @@ -48,6 +49,8 @@ struct _EmpathyStatusIconPriv { MissionControl *mc; GtkStatusIcon *icon; + EmpathyIdle *idle; + GtkWindow *window; GtkWidget *popup_menu; @@ -102,6 +105,7 @@ empathy_status_icon_init (EmpathyStatusIcon *icon) priv->icon = gtk_status_icon_new (); priv->mc = gossip_mission_control_new (); + priv->idle = empathy_idle_new (); status_icon_create_menu (icon); @@ -135,6 +139,7 @@ status_icon_finalize (GObject *object) g_object_unref (priv->mc); g_object_unref (priv->icon); g_object_unref (priv->window); + g_object_unref (priv->idle); } EmpathyStatusIcon * |