[empathy/wip/ui-refresh: 5/6] display all contacts in a flat list
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/wip/ui-refresh: 5/6] display all contacts in a flat list
- Date: Sun, 9 Oct 2016 13:53:42 +0000 (UTC)
commit ba536b64debb3d818b95a88aa3309211a867e1be
Author: Frédéric Péters <fpeters 0d be>
Date: Fri May 1 16:32:27 2015 +0200
display all contacts in a flat list
src/empathy-roster-window.c | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index b70332d..e874fb5 100644
--- a/src/empathy-roster-window.c
+++ b/src/empathy-roster-window.c
@@ -2530,15 +2530,11 @@ empathy_roster_window_init (EmpathyRosterWindow *self)
"most-available-presence-changed",
G_CALLBACK (roster_window_most_available_presence_changed_cb), self);
- g_settings_bind (self->priv->gsettings_ui, EMPATHY_PREFS_UI_SHOW_OFFLINE,
- self->priv->view, "show-offline",
- G_SETTINGS_BIND_GET);
- tp_g_signal_connect_object (self->priv->gsettings_ui,
- "changed::" EMPATHY_PREFS_UI_SHOW_OFFLINE,
- G_CALLBACK (show_offline_changed_cb), self, 0);
- g_settings_bind (self->priv->gsettings_ui, EMPATHY_PREFS_UI_SHOW_GROUPS,
- self->priv->view, "show-groups",
- G_SETTINGS_BIND_GET);
+ g_object_set (G_OBJECT (self->priv->view),
+ "show-offline", TRUE,
+ "show-groups", FALSE,
+ NULL);
+
g_settings_bind (self->priv->gsettings_ui, "show-balance-in-roster",
self->priv->balance_vbox, "visible",
G_SETTINGS_BIND_GET);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]