Fix wrong call to missing *_unread func (we use the *_read() func
[claws.git] / src / toolbar.c
index edf28e950364838f9f783ef2ca0b352b3d8afd70..13d58ed455f726e4e85e1b4423190f06857b92df 100644 (file)
@@ -1690,7 +1690,7 @@ static void toolbar_unread_cb(GtkWidget *widget, gpointer data)
        switch (toolbar_item->type) {
        case TOOLBAR_MAIN:
                mainwin = (MainWindow *) toolbar_item->parent;
-               summary_mark_as_unread(mainwin->summaryview, FALSE);
+               summary_mark_as_read(mainwin->summaryview, FALSE);
                break;
        case TOOLBAR_MSGVIEW:
                /* TODO: see toolbar_next_unread_cb() if you need