Fix wrong call to missing *_unread func (we use the *_read() func
authorwwp <wwp@free.fr>
Mon, 12 Dec 2016 16:36:05 +0000 (17:36 +0100)
committerwwp <wwp@free.fr>
Mon, 12 Dec 2016 16:36:05 +0000 (17:36 +0100)
w/ FALSE as parameter for that).
Add missing new xpm files to Makefile.am.

src/Makefile.am
src/toolbar.c

index 3932e48..6aee1cc 100644 (file)
@@ -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)
 
index edf28e9..13d58ed 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