]> git.0d.be Git - empathy.git/commitdiff
preferences: add UI to show/hide groups
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 13 Jun 2012 07:57:43 +0000 (09:57 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 15 Jun 2012 11:45:47 +0000 (13:45 +0200)
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

src/empathy-preferences.c
src/empathy-preferences.ui

index 923bef0e987b3a2720f0570d5f47018c501306da..4291ffcf86571ca0bdbf033f30ddf7c81e84bd48 100644 (file)
@@ -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,
index 4b80b0f958f73879be17d6a8d8c3cc317dbcac0a..a54dcd22dc15351bfbcb57cb7e99efd48a1d51b1 100644 (file)
                         <property name="position">0</property>
                       </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>