]> git.0d.be Git - empathy.git/commitdiff
chat_destroy_cb: use chat_update_contacts_visibility instead of empathy_chat_set_show...
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 7 Dec 2009 14:42:12 +0000 (14:42 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 7 Dec 2009 14:42:12 +0000 (14:42 +0000)
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

index 256222118f6c8df2351291e12178eb761b53e64a..611f2eb561489de6848e43e4b998509e6ec4048d 100644 (file)
@@ -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