From a8aa3fc2205e274faa91de830a599ac88c00d3f6 Mon Sep 17 00:00:00 2001 From: wwp Date: Mon, 12 Dec 2016 17:36:05 +0100 Subject: [PATCH] Fix wrong call to missing *_unread func (we use the *_read() func w/ FALSE as parameter for that). Add missing new xpm files to Makefile.am. --- src/Makefile.am | 11 +++++++++++ src/toolbar.c | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 3932e48b4..6aee1cc6b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -557,6 +557,17 @@ EXTRA_DIST = \ pixmaps/zoom_in.xpm \ pixmaps/zoom_out.xpm \ pixmaps/zoom_width.xpm \ + pixmaps/mark_allread.xpm \ + pixmaps/mark_allunread.xpm \ + pixmaps/mark_ignorethread.xpm \ + pixmaps/mark_locked.xpm \ + pixmaps/mark_mark.xpm \ + pixmaps/mark_read.xpm \ + pixmaps/mark_unlocked.xpm \ + pixmaps/mark_unmark.xpm \ + pixmaps/mark_unread.xpm \ + pixmaps/mark_watchthread.xpm \ + pixmaps/mark.xpm \ claws-contacts.xml \ $(abook_extra) diff --git a/src/toolbar.c b/src/toolbar.c index edf28e950..13d58ed45 100644 --- a/src/toolbar.c +++ b/src/toolbar.c @@ -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 -- 2.25.1