diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/folder-browser-ui.c | 2 | ||||
-rw-r--r-- | mail/folder-browser.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c index a9d6edfdf7..e9e56c1c93 100644 --- a/mail/folder-browser-ui.c +++ b/mail/folder-browser-ui.c @@ -555,6 +555,8 @@ folder_browser_ui_add_list (FolderBrowser *fb) GConfClient *gconf; int state; + gconf = gconf_client_get_default (); + if (fb->sensitise_state) { g_hash_table_destroy(fb->sensitise_state); fb->sensitise_state = NULL; diff --git a/mail/folder-browser.c b/mail/folder-browser.c index bd442c4523..10ef9190fd 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -2396,6 +2396,8 @@ folder_browser_gui_init (FolderBrowser *fb) fb->resize_id = g_signal_connect (fb->message_list, "size_allocate", G_CALLBACK (fb_resize_cb), fb); + gconf = gconf_client_get_default (); + /* listen for updates */ gconf_client_add_dir (gconf, "/apps/evolution/mail/display/paned_size", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); @@ -2403,7 +2405,6 @@ folder_browser_gui_init (FolderBrowser *fb) gconf_client_notify_add (gconf, "/apps/evolution/mail/display/paned_size", paned_size_changed, fb, NULL, NULL); - gconf = gconf_client_get_default (); paned_size = gconf_client_get_int (gconf, "/apps/evolution/mail/display/paned_size", NULL); e_paned_add2 (E_PANED (fb->vpaned), GTK_WIDGET (fb->mail_display)); |