Fix marking all as (un)read recursively when the confirmation
[claws.git] / src / folderview.c
index 71391ef01b184564fcf1d7c6d4ab212ad69ebdab..d48a8de9a5e3bdad0f9682b04c28002ae4cb9a00 100644 (file)
@@ -876,8 +876,7 @@ static void mark_all_read_unread_handler(GtkAction *action, gpointer data,
                                                        _("Do you really want to mark all mails in this "
                                                        "folder as unread?");
        }
-       if (folderview->summaryview->folder_item != item &&
-           prefs_common.ask_mark_all_read) {
+       if (prefs_common.ask_mark_all_read) {
                val = alertpanel_full(title, message,
                          GTK_STOCK_NO, GTK_STOCK_YES, NULL,
                          TRUE, NULL, ALERT_QUESTION, G_ALERTDEFAULT);