Fix marking all as (un)read recursively when the confirmation
[claws.git] / src / toolbar.c
index 68195862c89383eab47fd43d99b6dffadbeb637f..c41b4877739ca0e1ef48486b3c1c8e4b1715f9c1 100644 (file)
@@ -1602,7 +1602,7 @@ static void toolbar_all_read_cb(GtkWidget *widget, gpointer data)
        switch (toolbar_item->type) {
        case TOOLBAR_MAIN:
                mainwin = (MainWindow *) toolbar_item->parent;
-               summary_mark_all_read(mainwin->summaryview);
+               summary_mark_all_read(mainwin->summaryview, TRUE);
                break;
        case TOOLBAR_MSGVIEW:
                /* TODO: see toolbar_next_unread_cb() if you need
@@ -1624,7 +1624,7 @@ static void toolbar_all_unread_cb(GtkWidget *widget, gpointer data)
        switch (toolbar_item->type) {
        case TOOLBAR_MAIN:
                mainwin = (MainWindow *) toolbar_item->parent;
-               summary_mark_all_unread(mainwin->summaryview);
+               summary_mark_all_unread(mainwin->summaryview, TRUE);
                break;
        case TOOLBAR_MSGVIEW:
                /* TODO: see toolbar_next_unread_cb() if you need