aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGabriel Millaire <millaire.gabriel@gmail.com>2009-06-18 11:40:43 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-18 18:34:37 +0800
commitbfd99fa8722a9e988df008558782dca6d6118034 (patch)
treea56d67531624f87b7709f796a22d6f8bce4fa9e2 /src
parent422e90f113fb04e4d8b21f50fe8b1d314a3ef3ac (diff)
downloadgsoc2013-empathy-bfd99fa8722a9e988df008558782dca6d6118034.tar
gsoc2013-empathy-bfd99fa8722a9e988df008558782dca6d6118034.tar.gz
gsoc2013-empathy-bfd99fa8722a9e988df008558782dca6d6118034.tar.bz2
gsoc2013-empathy-bfd99fa8722a9e988df008558782dca6d6118034.tar.lz
gsoc2013-empathy-bfd99fa8722a9e988df008558782dca6d6118034.tar.xz
gsoc2013-empathy-bfd99fa8722a9e988df008558782dca6d6118034.tar.zst
gsoc2013-empathy-bfd99fa8722a9e988df008558782dca6d6118034.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-window.c4
-rw-r--r--src/empathy-preferences.c2
2 files changed, 2 insertions, 4 deletions
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);