diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-23 17:14:12 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-23 17:14:12 +0200 |
commit | c12fff8f0e57273a38d2d711666628a11a9e5d79 (patch) | |
tree | 73aa26d45c11b2651f5f7d078c3a0fec9daeb62c | |
parent | 4463f4c079d4592ace5ed6406c521782482d3840 (diff) |
SidebarWidget: Cleanup
-rw-r--r-- | src/ui/sidebarwidget.c | 6 |
1 files 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) { | |||
348 | /* Actions. */ { | 348 | /* Actions. */ { |
349 | addActionButton_SidebarWidget_( | 349 | addActionButton_SidebarWidget_( |
350 | d, check_Icon " ${feeds.markallread}", "feeds.markallread", expand_WidgetFlag); | 350 | d, check_Icon " ${feeds.markallread}", "feeds.markallread", expand_WidgetFlag); |
351 | addChild_Widget(d->actions, iClob(new_LabelWidget("${sidebar.action.show}", NULL))); | 351 | addChildFlags_Widget(d->actions, |
352 | iClob(new_LabelWidget("${sidebar.action.show}", NULL)), | ||
353 | frameless_WidgetFlag); | ||
352 | const iMenuItem items[] = { | 354 | const iMenuItem items[] = { |
353 | { "${sidebar.action.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, | 355 | { "${sidebar.action.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, |
354 | { "${sidebar.action.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, | 356 | { "${sidebar.action.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, |
355 | }; | 357 | }; |
356 | iWidget *dropButton = addChild_Widget( | 358 | iWidget *dropButton = addChild_Widget( |