diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/sidebarwidget.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index 36c35b2e..22170f38 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -409,7 +409,7 @@ static void updateItems_SidebarWidget_(iSidebarWidget *d) { | |||
409 | iClob(new_LabelWidget("See " uiTextStrong_ColorEscape "Help" restore_ColorEscape | 409 | iClob(new_LabelWidget("See " uiTextStrong_ColorEscape "Help" restore_ColorEscape |
410 | " for more information about TLS client certificates.", | 410 | " for more information about TLS client certificates.", |
411 | "!open newtab:1 gotoheading:1.6 url:about:help")), | 411 | "!open newtab:1 gotoheading:1.6 url:about:help")), |
412 | frameless_WidgetFlag | fixedHeight_WidgetFlag | wrapText_WidgetFlag), | 412 | frameless_WidgetFlag | fixedHeight_WidgetFlag | wrapText_WidgetFlag), |
413 | uiBackgroundSidebar_ColorId); | 413 | uiBackgroundSidebar_ColorId); |
414 | addChild_Widget(d->blank, iClob(div)); | 414 | addChild_Widget(d->blank, iClob(div)); |
415 | } | 415 | } |
@@ -808,8 +808,9 @@ static iBool processEvent_SidebarWidget_(iSidebarWidget *d, const SDL_Event *ev) | |||
808 | updateItems_SidebarWidget_(d); | 808 | updateItems_SidebarWidget_(d); |
809 | scrollOffset_ListWidget(d->list, 0); | 809 | scrollOffset_ListWidget(d->list, 0); |
810 | } | 810 | } |
811 | else if (equal_Command(cmd, "visited.changed") && | 811 | else if (equal_Command(cmd, "sidebar.update") || |
812 | (d->mode == history_SidebarMode || d->mode == feeds_SidebarMode)) { | 812 | (equal_Command(cmd, "visited.changed") && |
813 | (d->mode == history_SidebarMode || d->mode == feeds_SidebarMode))) { | ||
813 | updateItems_SidebarWidget_(d); | 814 | updateItems_SidebarWidget_(d); |
814 | } | 815 | } |
815 | else if (equal_Command(cmd, "bookmarks.changed") && (d->mode == bookmarks_SidebarMode || | 816 | else if (equal_Command(cmd, "bookmarks.changed") && (d->mode == bookmarks_SidebarMode || |