make space work (again) when no mail is selected
authorColin Leroy <colin@colino.net>
Sat, 12 Oct 2002 01:56:24 +0000 (01:56 +0000)
committerColin Leroy <colin@colino.net>
Sat, 12 Oct 2002 01:56:24 +0000 (01:56 +0000)
this time with the summary_(un)lock understood ;-)

ChangeLog.claws
configure.in
src/mainwindow.c

index 4114d4d2fdd6732185dd2e125d1a007aa925c214..2176612fc65f449f9e950ec60e3919060a25f76c 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-11 [colin]     0.8.5claws21
+
+       * src/mainwindow.c
+               Make space work (better) when no mail is selected
+
 2002-10-11 [colin]     0.8.5claws20
 
        * src/inc.c
index a9cdeb264baef0d1ee84d52d4a27759042594eaf..cde75854550af376c592e18bdb6183ee439af3e5 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws20
+EXTRA_VERSION=claws21
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index b58f8d578f093eb848a5e019237aec1307024b63..4990cdc8ed81b28a630157633b7c1cc4e16fad51 100644 (file)
@@ -3563,6 +3563,14 @@ static void key_pressed (GtkWidget *widget, GdkEventKey *event,  gpointer data)
 
                app_exit_cb(mainwin, 0, NULL);
                return;
+       case GDK_space:
+               if (mainwin->folderview && mainwin->summaryview 
+                   && !mainwin->folderview->opened) {
+                       summary_lock(mainwin->summaryview);
+                       folderview_select_next_unread(mainwin->folderview);
+                       summary_unlock(mainwin->summaryview);
+               }
+               break;
        default:
                break;
        }