fix a bug after "check for new messages"; remove unnecessary check
[claws.git] / src / mainwindow.c
index b58f8d578f093eb848a5e019237aec1307024b63..076640f4350d5a8e770500d5e1a510d73f311173 100644 (file)
@@ -3563,6 +3563,13 @@ 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 ) {
+                       summary_lock(mainwin->summaryview);
+                       folderview_select_next_unread(mainwin->folderview);
+                       summary_unlock(mainwin->summaryview);
+               }
+               break;
        default:
                break;
        }