From c12fff8f0e57273a38d2d711666628a11a9e5d79 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 23 Nov 2021 17:14:12 +0200 Subject: SidebarWidget: Cleanup --- src/ui/sidebarwidget.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index 581a7bb2..14d7a373 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c @@ -348,9 +348,11 @@ static void updateItems_SidebarWidget_(iSidebarWidget *d) { /* Actions. */ { addActionButton_SidebarWidget_( d, check_Icon " ${feeds.markallread}", "feeds.markallread", expand_WidgetFlag); - addChild_Widget(d->actions, iClob(new_LabelWidget("${sidebar.action.show}", NULL))); + addChildFlags_Widget(d->actions, + iClob(new_LabelWidget("${sidebar.action.show}", NULL)), + frameless_WidgetFlag); const iMenuItem items[] = { - { "${sidebar.action.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, + { "${sidebar.action.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, { "${sidebar.action.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, }; iWidget *dropButton = addChild_Widget( -- cgit v1.2.3