diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-09-20 18:46:27 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-09-20 18:46:27 +0800 |
commit | c51d527f11b2d253ed13788830136bc1787029b1 (patch) | |
tree | 7ef6a806bcb9614fd1949f409730e47f9c615e6b /libempathy-gtk/empathy-status-icon.c | |
parent | f637a06fb631be72db06bc5f45ad2449f80e35e7 (diff) | |
download | gsoc2013-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/empathy-status-icon.c')
-rw-r--r-- | libempathy-gtk/empathy-status-icon.c | 2 |
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", |