aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGabriel Millaire <millaire.gabriel@gmail.com>2009-05-24 02:10:20 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-18 18:34:36 +0800
commit2ffdfc58b3cbddbe6fe9899f02d0f6efb59da721 (patch)
tree7f18bdaff6b732a1d6702bf76dad990eeb46ee89 /src
parente33c10700fc2313a90c7171a3b794e33007c8591 (diff)
downloadgsoc2013-empathy-2ffdfc58b3cbddbe6fe9899f02d0f6efb59da721.tar
gsoc2013-empathy-2ffdfc58b3cbddbe6fe9899f02d0f6efb59da721.tar.gz
gsoc2013-empathy-2ffdfc58b3cbddbe6fe9899f02d0f6efb59da721.tar.bz2
gsoc2013-empathy-2ffdfc58b3cbddbe6fe9899f02d0f6efb59da721.tar.lz
gsoc2013-empathy-2ffdfc58b3cbddbe6fe9899f02d0f6efb59da721.tar.xz
gsoc2013-empathy-2ffdfc58b3cbddbe6fe9899f02d0f6efb59da721.tar.zst
gsoc2013-empathy-2ffdfc58b3cbddbe6fe9899f02d0f6efb59da721.zip
Added a preference in the conf and schema (show contact list in rooms)
Diffstat (limited to 'src')
-rw-r--r--src/empathy-preferences.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c
index 4c88db675..30466193b 100644
--- a/src/empathy-preferences.c
+++ b/src/empathy-preferences.c
@@ -52,6 +52,7 @@ typedef struct {
GtkWidget *checkbutton_show_avatars;
GtkWidget *checkbutton_compact_contact_list;
GtkWidget *checkbutton_show_smileys;
+ GtkWidget *checkbutton_show_contacts_in_rooms;
GtkWidget *combobox_chat_theme;
GtkWidget *hbox_adium_theme;
GtkWidget *filechooserbutton_adium_theme;
@@ -236,6 +237,10 @@ 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);
preferences_hookup_radio_button (preferences,
EMPATHY_PREFS_CONTACTS_SORT_CRITERIUM,
@@ -1190,6 +1195,7 @@ empathy_preferences_show (GtkWindow *parent)
"checkbutton_show_avatars", &preferences->checkbutton_show_avatars,
"checkbutton_compact_contact_list", &preferences->checkbutton_compact_contact_list,
"checkbutton_show_smileys", &preferences->checkbutton_show_smileys,
+ "checkbutton_show_contacts_in_rooms", &preferences->checkbutton_show_contacts_in_rooms,
"combobox_chat_theme", &preferences->combobox_chat_theme,
"hbox_adium_theme", &preferences->hbox_adium_theme,
"filechooserbutton_adium_theme", &preferences->filechooserbutton_adium_theme,