2008-11-19 [colin] 3.6.1cvs34
authorColin Leroy <colin@colino.net>
Wed, 19 Nov 2008 07:55:14 +0000 (07:55 +0000)
committerColin Leroy <colin@colino.net>
Wed, 19 Nov 2008 07:55:14 +0000 (07:55 +0000)
* src/folderview.c
Always give focus to summaryview, even if
the folder is empty, in small screen layout.
Allows to go back to folderlist using the
keyboard.

ChangeLog
PATCHSETS
configure.ac
src/folderview.c

index 94a8cd91abcfb8342c2fc05666a8299a3655782b..2ed335f883cf8b9e1e9eebc914f0866facc98c52 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-11-19 [colin]     3.6.1cvs34
+
+       * src/folderview.c
+               Always give focus to summaryview, even if
+               the folder is empty, in small screen layout.
+               Allows to go back to folderlist using the
+               keyboard.
+
 2008-11-18 [colin]     3.6.1cvs33
 
        * src/mainwindow.h
index 77ebc1b76ff8987a11cd3e43883866b8971ba466..d0dc2fc3814a3f5146ba23e577711d57d8582393 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.382.2.483 -r 1.382.2.484 src/compose.c;  ) > 3.6.1cvs31.patchset
 ( cvs diff -u -r 1.49.2.119 -r 1.49.2.120 src/procmime.c;  cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/common/w32_reg.c;  ) > 3.6.1cvs32.patchset
 ( cvs diff -u -r 1.39.2.53 -r 1.39.2.54 src/mainwindow.h;  ) > 3.6.1cvs33.patchset
+( cvs diff -u -r 1.207.2.206 -r 1.207.2.207 src/folderview.c;  ) > 3.6.1cvs34.patchset
index ad4f78b48997acf2b64e9a821225fffceb8345c9..f0bf849f6995d11f43b975238754e28b0ff845df 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=6
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=33
+EXTRA_VERSION=34
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
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);