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 3932e48b45d2af7f77a704d463901e2362bb8ba9..6aee1cc6b3570035d5c6d7811a52e812ea8c871d 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 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