From bfd99fa8722a9e988df008558782dca6d6118034 Mon Sep 17 00:00:00 2001 From: Gabriel Millaire Date: Wed, 17 Jun 2009 23:40:43 -0400 Subject: Hide muc contacts list - Removed trailing spaces - Notify change to visibility - Added G_PARAM_STATIC_STRINGS to properties - Broke empathy_chat_set_show_contacts() in two, simplifying call --- src/empathy-chat-window.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/empathy-chat-window.c') diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 130638a1a..09f945fb7 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -636,9 +636,7 @@ chat_window_contacts_toggled_cb (GtkToggleAction *toggle_action, active = gtk_toggle_action_get_active (toggle_action); - g_object_set (priv->current_chat, - "show-contacts", active, - NULL); + empathy_chat_set_show_contacts (priv->current_chat, active); } static const gchar * -- cgit v1.2.3