From 136e7561dbe34bafa1974ea6aa9aa5acceb00c61 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 20 Apr 2010 11:47:26 +0200 Subject: fix show_offline gconf key (#616267) The key is /ui/show_offline not /contacts/show_offline --- src/empathy-main-window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/empathy-main-window.c') diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 3d367df68..51d0ec9ef 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -733,7 +733,7 @@ main_window_view_show_offline_cb (GtkToggleAction *action, current = gtk_toggle_action_get_active (action); empathy_conf_set_bool (empathy_conf_get (), - EMPATHY_PREFS_CONTACTS_SHOW_OFFLINE, + EMPATHY_PREFS_UI_SHOW_OFFLINE, current); /* Turn off sound just while we alter the contact list. */ @@ -1502,10 +1502,10 @@ empathy_main_window_show (void) /* Show offline ? */ empathy_conf_get_bool (conf, - EMPATHY_PREFS_CONTACTS_SHOW_OFFLINE, + EMPATHY_PREFS_UI_SHOW_OFFLINE, &show_offline); empathy_conf_notify_add (conf, - EMPATHY_PREFS_CONTACTS_SHOW_OFFLINE, + EMPATHY_PREFS_UI_SHOW_OFFLINE, main_window_notify_show_offline_cb, show_offline_widget); -- cgit v1.2.3