summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-01-10 21:02:00 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-01-10 21:02:00 +0200
commit3625be638e06b77c0d8dbc6bce09f15863178b55 (patch)
treedf2d2a36ba7bdcec9483c1a70eeb0267c09876f5 /src
parent7de26af3f47fcd2f409605400bc41b089f54aa44 (diff)
SidebarWidget: Feed unread status vs. context menu
Diffstat (limited to 'src')
-rw-r--r--src/ui/sidebarwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index bec6d87a..cde95892 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -1062,7 +1062,7 @@ static iBool processEvent_SidebarWidget_(iSidebarWidget *d, const SDL_Event *ev)
1062 } 1062 }
1063 else if (d->mode == feeds_SidebarMode && d->contextItem) { 1063 else if (d->mode == feeds_SidebarMode && d->contextItem) {
1064 iLabelWidget *menuItem = findMenuItem_Widget(d->menu, "feed.entry.toggleread"); 1064 iLabelWidget *menuItem = findMenuItem_Widget(d->menu, "feed.entry.toggleread");
1065 const iBool isRead = containsUrl_Visited(visited_App(), &d->contextItem->url); 1065 const iBool isRead = d->contextItem->indent == 0;
1066 setTextCStr_LabelWidget(menuItem, isRead ? "Mark as Unread" : "Mark as Read"); 1066 setTextCStr_LabelWidget(menuItem, isRead ? "Mark as Unread" : "Mark as Read");
1067 } 1067 }
1068 else if (d->mode == identities_SidebarMode) { 1068 else if (d->mode == identities_SidebarMode) {