aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-07 22:42:12 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-07 22:42:12 +0800
commitb8698934662ff2f97b6d1d68f409650878bbcad6 (patch)
tree4a2283f7f56905ac4f2c18a1b9ea7dccfd4d12fb /libempathy-gtk
parent31b467503ba8705c32b3de475f543a2fabd6cba6 (diff)
downloadgsoc2013-empathy-b8698934662ff2f97b6d1d68f409650878bbcad6.tar
gsoc2013-empathy-b8698934662ff2f97b6d1d68f409650878bbcad6.tar.gz
gsoc2013-empathy-b8698934662ff2f97b6d1d68f409650878bbcad6.tar.bz2
gsoc2013-empathy-b8698934662ff2f97b6d1d68f409650878bbcad6.tar.lz
gsoc2013-empathy-b8698934662ff2f97b6d1d68f409650878bbcad6.tar.xz
gsoc2013-empathy-b8698934662ff2f97b6d1d68f409650878bbcad6.tar.zst
gsoc2013-empathy-b8698934662ff2f97b6d1d68f409650878bbcad6.zip
chat_destroy_cb: use chat_update_contacts_visibility instead of empathy_chat_set_show_contacts
That way priv->show_contacts is not changed and we'll redisplay the contact list when reconnecting if needed (#598964).
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 256222118..611f2eb56 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -1969,7 +1969,8 @@ chat_destroy_cb (EmpathyTpChat *tp_chat,
empathy_chat_view_append_event (chat->view, _("Disconnected"));
gtk_widget_set_sensitive (chat->input_text_view, FALSE);
- empathy_chat_set_show_contacts (chat, FALSE);
+
+ chat_update_contacts_visibility (chat, FALSE);
}
static void