2008-11-19 [colin] 3.6.1cvs34
[claws.git] / src / folderview.c
index 27f26ad118b500fe5bc651cbbeca7ab1b7dc6188..c9546c1784352ac4dcb3d5de0fd3c3afa44678c9 100644 (file)
@@ -889,8 +889,9 @@ static void folderview_select_node(FolderView *folderview, GtkCMCTreeNode *node)
        folderview->open_folder = TRUE;
        gtkut_ctree_set_focus_row(ctree, node);
        gtk_cmctree_select(ctree, node);
-       if (folderview->summaryview->folder_item &&
-           folderview->summaryview->folder_item->total_msgs > 0)
+       if ((folderview->summaryview->folder_item &&
+           folderview->summaryview->folder_item->total_msgs > 0) ||
+            prefs_common.layout_mode == SMALL_LAYOUT)
                summary_grab_focus(folderview->summaryview);
        else
                gtk_widget_grab_focus(folderview->ctree);