aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-13 15:57:43 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-15 19:45:47 +0800
commit52189008475461e67cc43d9fb6eef7eeea5d3529 (patch)
tree2ebf1ea0d51db77020cd06c07c4121d4501d63a2 /src
parenta27a6f8621c1f054c39e0ee1c0b8334434b10c97 (diff)
downloadgsoc2013-empathy-52189008475461e67cc43d9fb6eef7eeea5d3529.tar.gz
gsoc2013-empathy-52189008475461e67cc43d9fb6eef7eeea5d3529.tar.zst
gsoc2013-empathy-52189008475461e67cc43d9fb6eef7eeea5d3529.zip
preferences: add UI to show/hide groups
I'm about to change the default to not show groups, so users should have an easy way to get them back. I just removed a bunch of options from the preferences dialog so at the end it will still be simpler than it used to be. https://bugzilla.gnome.org/show_bug.cgi?id=677949
Diffstat (limited to 'src')
-rw-r--r--src/empathy-preferences.c2
-rw-r--r--src/empathy-preferences.ui16
2 files changed, 18 insertions, 0 deletions
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c
index 923bef0e9..4291ffcf8 100644
--- a/src/empathy-preferences.c
+++ b/src/empathy-preferences.c
@@ -179,6 +179,8 @@ preferences_setup_widgets (EmpathyPreferences *preferences,
BIND_ACTIVE (ui, UI_SHOW_OFFLINE,
"checkbutton_show_offline");
+ BIND_ACTIVE (ui, UI_SHOW_GROUPS,
+ "checkbutton_show_groups");
BIND_ACTIVE (ui, UI_SEPARATE_CHAT_WINDOWS,
"radiobutton_chats_new_windows");
BIND_ACTIVE (ui, UI_EVENTS_NOTIFY_AREA,
diff --git a/src/empathy-preferences.ui b/src/empathy-preferences.ui
index 4b80b0f95..a54dcd22d 100644
--- a/src/empathy-preferences.ui
+++ b/src/empathy-preferences.ui
@@ -45,6 +45,22 @@
</packing>
</child>
<child>
+ <object class="GtkCheckButton" id="checkbutton_show_groups">
+ <property name="label" translatable="yes">Show groups</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkCheckButton" id="checkbutton_show_balances">
<property name="label" translatable="yes">Show account balances</property>
<property name="visible">True</property>