aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-05-31 14:50:58 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-05-31 14:50:58 +0800
commitc06a2a5a2bb1a923918de34fe63efe18c090902b (patch)
tree5a4a067bf1838e010b06fcd2c951a93c9da29b11 /libempathy
parent6fe758a0d83f6872585a177a2e821d4105642308 (diff)
downloadgsoc2013-empathy-c06a2a5a2bb1a923918de34fe63efe18c090902b.tar
gsoc2013-empathy-c06a2a5a2bb1a923918de34fe63efe18c090902b.tar.gz
gsoc2013-empathy-c06a2a5a2bb1a923918de34fe63efe18c090902b.tar.bz2
gsoc2013-empathy-c06a2a5a2bb1a923918de34fe63efe18c090902b.tar.lz
gsoc2013-empathy-c06a2a5a2bb1a923918de34fe63efe18c090902b.tar.xz
gsoc2013-empathy-c06a2a5a2bb1a923918de34fe63efe18c090902b.tar.zst
gsoc2013-empathy-c06a2a5a2bb1a923918de34fe63efe18c090902b.zip
Do not restore away presence message when coming back after the user set
2007-05-31 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-idle.c: Do not restore away presence message when coming back after the user set manually to away. svn path=/trunk/; revision=101
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-idle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c
index 42719a47e..6b9cfb3b9 100644
--- a/libempathy/empathy-idle.c
+++ b/libempathy/empathy-idle.c
@@ -154,6 +154,7 @@ idle_session_idle_changed_cb (DBusGProxy *gs_proxy,
/* We are now idle, set state to away */
priv->saved_state = mission_control_get_presence_actual (priv->mc, NULL);
+ priv->saved_status = mission_control_get_presence_message_actual (priv->mc, NULL);
if (priv->saved_state <= MC_PRESENCE_OFFLINE ||
priv->saved_state == MC_PRESENCE_HIDDEN) {
@@ -168,8 +169,6 @@ idle_session_idle_changed_cb (DBusGProxy *gs_proxy,
priv->saved_status = NULL;
}
- priv->saved_status = mission_control_get_presence_message_actual (priv->mc, NULL);
-
gossip_debug (DEBUG_DOMAIN, "Going to autoaway");
mission_control_set_presence (priv->mc,
new_state,