<_summary>The position for the chat window side pane</_summary>
<_description>The stored position (in pixels) of the chat window side pane.</_description>
</key>
+ <key name="show-groups" type="b">
+ <default>true</default>
+ <_summary>Show contact groups</_summary>
+ <_description>Whether to show groups in the contact list.</_description>
+ </key>
</schema>
<schema id="org.gnome.Empathy.contacts" path="/org/gnome/empathy/contacts/">
<key name="sort-criterium" type="s">
#define EMPATHY_PREFS_UI_COMPACT_CONTACT_LIST "compact-contact-list"
#define EMPATHY_PREFS_UI_CHAT_WINDOW_PANED_POS "chat-window-paned-pos"
#define EMPATHY_PREFS_UI_SHOW_OFFLINE "show-offline"
+#define EMPATHY_PREFS_UI_SHOW_GROUPS "show-groups"
#define EMPATHY_PREFS_CONTACTS_SCHEMA EMPATHY_PREFS_SCHEMA ".contacts"
#define EMPATHY_PREFS_CONTACTS_SORT_CRITERIUM "sort-criterium"
self->priv->balance_vbox, "visible",
G_BINDING_SYNC_CREATE);
+ g_settings_bind (self->priv->gsettings_ui, "show-groups",
+ self->priv->individual_store, "show-groups", G_SETTINGS_BIND_DEFAULT);
+
/* Enable event handling */
self->priv->call_observer = empathy_call_observer_dup_singleton ();
self->priv->event_manager = empathy_event_manager_dup_singleton ();