diff options
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r-- | mail/em-folder-view.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c index b90d974655..7acbc6d3e1 100644 --- a/mail/em-folder-view.c +++ b/mail/em-folder-view.c @@ -2707,10 +2707,7 @@ emfv_setting_notify(GConfClient *gconf, guint cnxn_id, GConfEntry *entry, EMFold if (camel_object_meta_set (emfv->folder, "evolution:show_preview", state_gconf ? "1" : "0")) camel_object_state_write (emfv->folder); em_folder_browser_show_preview ((EMFolderBrowser *)emfv, state_gconf); - /* Set the prop only if the component has already been - * activated. */ - if (emfv->uic) - bonobo_ui_component_set_prop (emfv->uic, "/commands/ViewPreview", "state", state_gconf ? "1" : "0", NULL); + bonobo_ui_component_set_prop (emfv->uic, "/commands/ViewPreview", "state", state_gconf ? "1" : "0", NULL); break; } case EMFV_SHOW_DELETED: { gboolean state; |