From c51d527f11b2d253ed13788830136bc1787029b1 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 20 Sep 2007 10:46:27 +0000 Subject: Add 2 properties to EmpathyIdle to activate auto-away and auto-disconnect, 2007-09-20 Xavier Claessens * libempathy-gtk/empathy-status-icon.c: * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: * doc/libempathy/tmpl/empathy-idle.sgml: Add 2 properties to EmpathyIdle to activate auto-away and auto-disconnect, default to off. Only empathy main client will turn them on, like that if other processes are running with an EmpathyIdle instance they won't change presence in the same time than Empathy client. svn path=/trunk/; revision=301 --- libempathy-gtk/empathy-status-icon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-status-icon.c b/libempathy-gtk/empathy-status-icon.c index 1fdc00953..4fc1ca055 100644 --- a/libempathy-gtk/empathy-status-icon.c +++ b/libempathy-gtk/empathy-status-icon.c @@ -157,6 +157,8 @@ empathy_status_icon_init (EmpathyStatusIcon *icon) priv->icon = gtk_status_icon_new (); priv->idle = empathy_idle_new (); + empathy_idle_set_auto_away (priv->idle, TRUE); + empathy_idle_set_auto_disconnect (priv->idle, TRUE); priv->manager = empathy_contact_manager_new (); priv->mc = empathy_mission_control_new (); priv->text_filter = empathy_filter_new ("org.gnome.Empathy.Chat", -- cgit v1.2.3