aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-09-20 18:46:27 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-09-20 18:46:27 +0800
commitc51d527f11b2d253ed13788830136bc1787029b1 (patch)
tree7ef6a806bcb9614fd1949f409730e47f9c615e6b /libempathy-gtk
parentf637a06fb631be72db06bc5f45ad2449f80e35e7 (diff)
downloadgsoc2013-empathy-c51d527f11b2d253ed13788830136bc1787029b1.tar
gsoc2013-empathy-c51d527f11b2d253ed13788830136bc1787029b1.tar.gz
gsoc2013-empathy-c51d527f11b2d253ed13788830136bc1787029b1.tar.bz2
gsoc2013-empathy-c51d527f11b2d253ed13788830136bc1787029b1.tar.lz
gsoc2013-empathy-c51d527f11b2d253ed13788830136bc1787029b1.tar.xz
gsoc2013-empathy-c51d527f11b2d253ed13788830136bc1787029b1.tar.zst
gsoc2013-empathy-c51d527f11b2d253ed13788830136bc1787029b1.zip
Add 2 properties to EmpathyIdle to activate auto-away and auto-disconnect,
2007-09-20 Xavier Claessens <xclaesse@gmail.com> * 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
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-status-icon.c2
1 files changed, 2 insertions, 0 deletions
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",