aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 3950640c98..8890d5931d 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -603,6 +603,11 @@ void em_folder_browser_show_preview(EMFolderBrowser *emfb, gboolean state)
/* FIXME: need to update menu's to reflect ui changes */
}
+gboolean em_folder_browser_get_wide (EMFolderBrowser *emfb)
+{
+ return emfb->priv->show_wide;
+}
+
void em_folder_browser_show_wide(EMFolderBrowser *emfb, gboolean state)
{
GtkWidget *w;
@@ -1874,8 +1879,7 @@ emfb_activate(EMFolderView *emfv, BonoboUIComponent *uic, int act)
message_list_set_threaded(emfv->list, state);
/* Show wide display */
- state = gconf_client_get_bool(gconf, "/apps/evolution/mail/display/show_wide", NULL);
- if (state) {
+ if (emfb->priv->show_wide) {
bonobo_ui_component_set_prop(uic, "/commands/ViewAfter", "state", "1", NULL);
bonobo_ui_component_set_prop(uic, "/commands/ViewBelow", "state", "0", NULL);
} else {