From a9ff63ab04083e7c2b461785c25bf65655f46896 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 8 Jan 2003 20:41:08 +0000 Subject: Call folder_browser_set_message_preview(). 2003-01-08 Jeffrey Stedfast * folder-browser-ui.c (folder_browser_ui_add_global): Call folder_browser_set_message_preview(). svn path=/trunk/; revision=19289 --- mail/ChangeLog | 3 +++ mail/folder-browser-ui.c | 3 +-- 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 + * 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 */ -- cgit