aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-25 21:44:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-09 20:22:19 +0800
commitb02e1667ba8c6e2af128ae461de082ea839dff56 (patch)
treed93d5e7e25c090edffa8fefa5e6fde4b6bec61e3 /src
parent5c9ffe720041257034f8d85d1ae5298bbdf10492 (diff)
downloadgsoc2013-empathy-b02e1667ba8c6e2af128ae461de082ea839dff56.tar
gsoc2013-empathy-b02e1667ba8c6e2af128ae461de082ea839dff56.tar.gz
gsoc2013-empathy-b02e1667ba8c6e2af128ae461de082ea839dff56.tar.bz2
gsoc2013-empathy-b02e1667ba8c6e2af128ae461de082ea839dff56.tar.lz
gsoc2013-empathy-b02e1667ba8c6e2af128ae461de082ea839dff56.tar.xz
gsoc2013-empathy-b02e1667ba8c6e2af128ae461de082ea839dff56.tar.zst
gsoc2013-empathy-b02e1667ba8c6e2af128ae461de082ea839dff56.zip
Add a gsetting key to show/hide groups
https://bugzilla.gnome.org/show_bug.cgi?id=627658
Diffstat (limited to 'src')
-rw-r--r--src/empathy-roster-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index 079ac515a..8219f79ab 100644
--- a/src/empathy-roster-window.c
+++ b/src/empathy-roster-window.c
@@ -2634,6 +2634,9 @@ empathy_roster_window_init (EmpathyRosterWindow *self)
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 ();