diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-01-10 21:02:00 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-01-10 21:02:00 +0200 |
commit | 3625be638e06b77c0d8dbc6bce09f15863178b55 (patch) | |
tree | df2d2a36ba7bdcec9483c1a70eeb0267c09876f5 /src | |
parent | 7de26af3f47fcd2f409605400bc41b089f54aa44 (diff) |
SidebarWidget: Feed unread status vs. context menu
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/sidebarwidget.c | 2 |
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) { |