diff options
Diffstat (limited to 'src/ui/sidebarwidget.c')
-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) { |