Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34864)
+++ ChangeLog	(working copy)
@@ -1,3 +1,11 @@
+2008-01-22  Srinivasa Ragavan  <sragavan@novell.com>
+
+	** Fix for bug #405777
+
+	* em-folder-view.c: (emfv_setup_view_instance),
+	(emfv_setting_notify): Don't break abstraction. Call the right derived
+	class.
+
 2008-01-20  Srinivasa Ragavan  <sragavan@novell.com>
 
 	* message-list.etspec: Revert the last cursor remove commit. It breaks
Index: em-folder-view.c
===================================================================
--- em-folder-view.c	(revision 34846)
+++ em-folder-view.c	(working copy)
@@ -589,7 +589,7 @@ emfv_setup_view_instance(EMFolderView *e
 {
 	static GalViewCollection *collection = NULL;
 	struct _EMFolderViewPrivate *p = emfv->priv;
-	gboolean outgoing, show_wide;
+	gboolean outgoing, show_wide=FALSE;
 	char *id;
 
 	g_return_if_fail (emfv->folder);
@@ -647,7 +647,7 @@ emfv_setup_view_instance(EMFolderView *e
 	id = mail_config_folder_to_safe_url (emfv->folder);
 	p->view_instance = gal_view_instance_new (collection, id);
 
-	show_wide = em_folder_browser_get_wide ((EMFolderBrowser *) emfv);
+	show_wide = emfv->list_active ? em_folder_browser_get_wide ((EMFolderBrowser *) emfv):FALSE;
 	if (show_wide) {
 		char *safe_id, *filename;
 
@@ -3158,7 +3158,8 @@ emfv_setting_notify(GConfClient *gconf, 
 
 		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);
+		if (emfv->list_active)
+			em_folder_browser_show_preview ((EMFolderBrowser *)emfv, state_gconf);
 		bonobo_ui_component_set_prop (emfv->uic, "/commands/ViewPreview", "state", state_gconf ? "1" : "0", NULL);
 		break; }
 	case EMFV_SHOW_DELETED: {
