aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-01-08 13:57:21 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-01-08 13:57:21 +0800
commite172402e07ff07ca2dc071cce9dfd7ce4bd0795e (patch)
tree9283284bd75bed74bdc845d8968b262047e7ed24
parent8454bfcf61fe49f043c1f8de3941d98039862720 (diff)
downloadgsoc2013-evolution-e172402e07ff07ca2dc071cce9dfd7ce4bd0795e.tar
gsoc2013-evolution-e172402e07ff07ca2dc071cce9dfd7ce4bd0795e.tar.gz
gsoc2013-evolution-e172402e07ff07ca2dc071cce9dfd7ce4bd0795e.tar.bz2
gsoc2013-evolution-e172402e07ff07ca2dc071cce9dfd7ce4bd0795e.tar.lz
gsoc2013-evolution-e172402e07ff07ca2dc071cce9dfd7ce4bd0795e.tar.xz
gsoc2013-evolution-e172402e07ff07ca2dc071cce9dfd7ce4bd0795e.tar.zst
gsoc2013-evolution-e172402e07ff07ca2dc071cce9dfd7ce4bd0795e.zip
oops, forgot to init the gconf-client
svn path=/trunk/; revision=19273
-rw-r--r--mail/folder-browser-ui.c2
-rw-r--r--mail/folder-browser.c3
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));