aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorDavyd Madeley <davyd@madeley.id.au>2009-04-11 00:54:42 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-04-11 00:54:42 +0800
commit4976ba9c8adcb8ec0cf5eef22b99fe31b4bff2e7 (patch)
treeaf4a5075ea05aa0a3d2926a2cd566b3912054b82 /libempathy-gtk
parent8ab8c827943bce86fb59dad4dafceb2ee64351a2 (diff)
downloadgsoc2013-empathy-4976ba9c8adcb8ec0cf5eef22b99fe31b4bff2e7.tar
gsoc2013-empathy-4976ba9c8adcb8ec0cf5eef22b99fe31b4bff2e7.tar.gz
gsoc2013-empathy-4976ba9c8adcb8ec0cf5eef22b99fe31b4bff2e7.tar.bz2
gsoc2013-empathy-4976ba9c8adcb8ec0cf5eef22b99fe31b4bff2e7.tar.lz
gsoc2013-empathy-4976ba9c8adcb8ec0cf5eef22b99fe31b4bff2e7.tar.xz
gsoc2013-empathy-4976ba9c8adcb8ec0cf5eef22b99fe31b4bff2e7.tar.zst
gsoc2013-empathy-4976ba9c8adcb8ec0cf5eef22b99fe31b4bff2e7.zip
Fix regression where going offline was overwriting the saved status message
From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2794
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-presence-chooser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index 4ab17d3be..bfdc20a17 100644
--- a/libempathy-gtk/empathy-presence-chooser.c
+++ b/libempathy-gtk/empathy-presence-chooser.c
@@ -698,11 +698,12 @@ presence_chooser_presence_changed_cb (EmpathyPresenceChooser *chooser)
if (match)
{
+ priv->block_changed++;
gtk_combo_box_set_active_iter (GTK_COMBO_BOX (chooser), &iter);
+ priv->block_changed--;
}
else
{
- // FIXME - do we insert the match into the menu?
ui_set_custom_state (chooser, state, status);
}