aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-01-09 04:41:08 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-01-09 04:41:08 +0800
commita9ff63ab04083e7c2b461785c25bf65655f46896 (patch)
treef9a1d6a93329eed9da07b8ee5a8083c0423a7fd1 /mail
parent5c49bda7d167c71419950f0dc081a5b8ec56ee68 (diff)
downloadgsoc2013-evolution-a9ff63ab04083e7c2b461785c25bf65655f46896.tar
gsoc2013-evolution-a9ff63ab04083e7c2b461785c25bf65655f46896.tar.gz
gsoc2013-evolution-a9ff63ab04083e7c2b461785c25bf65655f46896.tar.bz2
gsoc2013-evolution-a9ff63ab04083e7c2b461785c25bf65655f46896.tar.lz
gsoc2013-evolution-a9ff63ab04083e7c2b461785c25bf65655f46896.tar.xz
gsoc2013-evolution-a9ff63ab04083e7c2b461785c25bf65655f46896.tar.zst
gsoc2013-evolution-a9ff63ab04083e7c2b461785c25bf65655f46896.zip
Call folder_browser_set_message_preview().
2003-01-08 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c (folder_browser_ui_add_global): Call folder_browser_set_message_preview(). svn path=/trunk/; revision=19289
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/folder-browser-ui.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 845a641120..f95ce717e6 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2003-01-08 Jeffrey Stedfast <fejj@ximian.com>
+ * folder-browser-ui.c (folder_browser_ui_add_global): Call
+ folder_browser_set_message_preview().
+
* mail-config.c (mail_config_get_show_preview): Removed.
(mail_config_set_show_preview): Removed.
diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c
index 0c8ecfd0d8..295991bd04 100644
--- a/mail/folder-browser-ui.c
+++ b/mail/folder-browser-ui.c
@@ -644,8 +644,7 @@ folder_browser_ui_add_global (FolderBrowser *fb)
/* listen for user-changes */
bonobo_ui_component_add_listener (uic, "ViewPreview", folder_browser_toggle_preview, fb);
- /* FIXME: this kind of bypasses bonobo but seems the only way when we change components */
- folder_browser_toggle_preview (uic, "", Bonobo_UIComponent_STATE_CHANGED, show_preview ? "1" : "0", fb);
+ folder_browser_set_message_preview (fb, show_preview);
/* Stop button */
/* TODO: Go through cache, but we can't becaus eof mail-mt.c:set_stop at the moment */