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 +--- src/empathy-preferences.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src') 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 * diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c index 30466193b..dfdf2a89d 100644 --- a/src/empathy-preferences.c +++ b/src/empathy-preferences.c @@ -237,7 +237,7 @@ preferences_setup_widgets (EmpathyPreferences *preferences) preferences_hookup_toggle_button (preferences, EMPATHY_PREFS_CHAT_SHOW_SMILEYS, preferences->checkbutton_show_smileys); - + preferences_hookup_toggle_button (preferences, EMPATHY_PREFS_CHAT_SHOW_CONTACTS_IN_ROOMS, preferences->checkbutton_show_contacts_in_rooms); -- cgit v1.2.3