diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-04 22:24:26 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-04 22:24:43 +0200 |
commit | 35f60fa0da324ee79923d8a730cf4f10dbb6ccdb (patch) | |
tree | 3de80c1a65333a62e3cebedce339a9386f4ce8dc /src/ui/window.c | |
parent | 900b449a5dbe8cbf08c7ad54662b1c3067093356 (diff) |
LabelWidget: Added an optional icon
Label icons are intended for context menus.
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 60813312..008290b9 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -1092,10 +1092,10 @@ static void setupUserInterface_Window(iWindow *d) { | |||
1092 | // setBackgroundColor_Widget(i.object, tmBannerSideTitle_ColorId); | 1092 | // setBackgroundColor_Widget(i.object, tmBannerSideTitle_ColorId); |
1093 | } | 1093 | } |
1094 | const iMenuItem items[] = { | 1094 | const iMenuItem items[] = { |
1095 | { "Bookmarks", 0, 0, "toolbar.showview arg:0" }, | 1095 | { "\U0001f588 Bookmarks", 0, 0, "toolbar.showview arg:0" }, |
1096 | { "Feeds", 0, 0, "toolbar.showview arg:1" }, | 1096 | { "\U00002605 Feeds", 0, 0, "toolbar.showview arg:1" }, |
1097 | { "History", 0, 0, "toolbar.showview arg:2" }, | 1097 | { "\U0001f553 History", 0, 0, "toolbar.showview arg:2" }, |
1098 | { "Page Outline", 0, 0, "toolbar.showview arg:4" }, | 1098 | { "\U0001f5b9 Page Outline", 0, 0, "toolbar.showview arg:4" }, |
1099 | }; | 1099 | }; |
1100 | iWidget *menu = makeMenu_Widget(findChild_Widget(toolBar, "toolbar.view"), | 1100 | iWidget *menu = makeMenu_Widget(findChild_Widget(toolBar, "toolbar.view"), |
1101 | items, iElemCount(items)); | 1101 | items, iElemCount(items)); |