[empathy] chat_destroy_cb: use chat_update_contacts_visibility	instead of empathy_chat_set_show_contacts
- From: Guillaume Desmottes <gdesmott src gnome org>
 
- To: svn-commits-list gnome org
 
- Cc: 
 
- Subject: [empathy] chat_destroy_cb: use chat_update_contacts_visibility	instead of empathy_chat_set_show_contacts
 
- Date: Mon,  7 Dec 2009 15:20:40 +0000 (UTC)
 
commit b8698934662ff2f97b6d1d68f409650878bbcad6
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Dec 7 14:42:12 2009 +0000
    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).
 libempathy-gtk/empathy-chat.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 2562221..611f2eb 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
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]