aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-preferences.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-12-06 22:31:58 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-12-06 22:31:58 +0800
commite0de4a5f2a254beef02021573c57543dfd33311f (patch)
treee515549717771ce1d566a004aec1df6669264207 /libempathy-gtk/empathy-preferences.c
parent17b31a900a57de69d2a222683dea403b2d8a3346 (diff)
downloadgsoc2013-empathy-e0de4a5f2a254beef02021573c57543dfd33311f.tar
gsoc2013-empathy-e0de4a5f2a254beef02021573c57543dfd33311f.tar.gz
gsoc2013-empathy-e0de4a5f2a254beef02021573c57543dfd33311f.tar.bz2
gsoc2013-empathy-e0de4a5f2a254beef02021573c57543dfd33311f.tar.lz
gsoc2013-empathy-e0de4a5f2a254beef02021573c57543dfd33311f.tar.xz
gsoc2013-empathy-e0de4a5f2a254beef02021573c57543dfd33311f.tar.zst
gsoc2013-empathy-e0de4a5f2a254beef02021573c57543dfd33311f.zip
Add a preference option to disable/enable NM support.
2007-12-06 Xavier Claessens <xclaesse@gmail.com> * data/empathy.schemas.in: * libempathy-gtk/empathy-preferences.c: * libempathy-gtk/empathy-preferences.glade: * libempathy-gtk/empathy-preferences.h: * libempathy-gtk/empathy-status-icon.c: * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: Add a preference option to disable/enable NM support. svn path=/trunk/; revision=468
Diffstat (limited to 'libempathy-gtk/empathy-preferences.c')
-rw-r--r--libempathy-gtk/empathy-preferences.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-preferences.c b/libempathy-gtk/empathy-preferences.c
index a8b52954d..14ee8f763 100644
--- a/libempathy-gtk/empathy-preferences.c
+++ b/libempathy-gtk/empathy-preferences.c
@@ -50,6 +50,7 @@ typedef struct {
GtkWidget *combobox_chat_theme;
GtkWidget *checkbutton_theme_chat_room;
GtkWidget *checkbutton_separate_chat_windows;
+ GtkWidget *checkbutton_use_nm;
GtkWidget *radiobutton_contact_list_sort_by_name;
GtkWidget *radiobutton_contact_list_sort_by_state;
@@ -178,6 +179,10 @@ preferences_setup_widgets (EmpathyPreferences *preferences)
preferences->checkbutton_separate_chat_windows);
preferences_hookup_toggle_button (preferences,
+ EMPATHY_PREFS_USE_NM,
+ preferences->checkbutton_use_nm);
+
+ preferences_hookup_toggle_button (preferences,
EMPATHY_PREFS_UI_SHOW_AVATARS,
preferences->checkbutton_show_avatars);
@@ -939,6 +944,7 @@ empathy_preferences_show (GtkWindow *parent)
"combobox_chat_theme", &preferences->combobox_chat_theme,
"checkbutton_theme_chat_room", &preferences->checkbutton_theme_chat_room,
"checkbutton_separate_chat_windows", &preferences->checkbutton_separate_chat_windows,
+ "checkbutton_use_nm", &preferences->checkbutton_use_nm,
"radiobutton_contact_list_sort_by_name", &preferences->radiobutton_contact_list_sort_by_name,
"radiobutton_contact_list_sort_by_state", &preferences->radiobutton_contact_list_sort_by_state,
"checkbutton_sounds_for_messages", &preferences->checkbutton_sounds_for_messages,