* src/summaryview.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Tue, 22 Jul 2003 21:36:48 +0000 (21:36 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Tue, 22 Jul 2003 21:36:48 +0000 (21:36 +0000)
shift-space scrolls up

ChangeLog.claws
configure.ac
src/summaryview.c

index b104e319b3f95fe8689024b993dc85049cf5bca7..50c3b1eeb08eb7f00c195c58cef57358b10ccb86 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-22 [alfons]    0.9.3claws39
+
+       * src/summaryview.c
+               shift-space scrolls up
+
 2003-07-22 [paul]      0.9.3claws38
 
        * sync with 0.9.3cvs15
 2003-07-22 [paul]      0.9.3claws38
 
        * sync with 0.9.3cvs15
index 8f5309dbd41c281dac6fc37c5917947c3acaeba0..52c77a168a72efb008dd28545edbedcfd75efbf0 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=38
+EXTRA_VERSION=39
 VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws${EXTRA_VERSION}
 
 dnl set $target
 VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws${EXTRA_VERSION}
 
 dnl set $target
index f55298bc7dad4edd89fd7686ed6019250883c969..33466197e19045fde48531441b7c51ef34a4faa7 100644 (file)
@@ -4494,13 +4494,17 @@ static gint summary_key_pressed(GtkWidget *widget, GdkEventKey *event,
 
        switch (event->keyval) {
        case GDK_space:         /* Page down or go to the next */
 
        switch (event->keyval) {
        case GDK_space:         /* Page down or go to the next */
-               if (summaryview->displayed != summaryview->selected) {
-                       summary_display_msg(summaryview,
-                                           summaryview->selected);
-                       break;
-               }
-               if (!textview_scroll_page(textview, FALSE))
-                       summary_select_next_unread(summaryview);
+               if (event->state & GDK_SHIFT_MASK) 
+                       textview_scroll_page(textview, TRUE);
+               else {
+                       if (summaryview->displayed != summaryview->selected) {
+                               summary_display_msg(summaryview,
+                                                   summaryview->selected);
+                               break;
+                       }
+                       if (!textview_scroll_page(textview, FALSE))
+                               summary_select_next_unread(summaryview);
+               }                               
                break;
        case GDK_BackSpace:     /* Page up */
                textview_scroll_page(textview, TRUE);
                break;
        case GDK_BackSpace:     /* Page up */
                textview_scroll_page(textview, TRUE);