diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-25 12:34:18 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-25 12:34:18 +0300 |
commit | 5c51b99cffed9d3d48470446b8d5dd724e8c03f1 (patch) | |
tree | 25b14e6de8555fbbd086ab896892dfd45570752e /src/ui/window.c | |
parent | e7024a708615da3477b258d8ee3c783a244b24c3 (diff) |
Added sidebar context menu items; cursor setting
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 6291519a..82109c07 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -319,10 +319,12 @@ static void setupUserInterface_Window(iWindow *d) { | |||
319 | setId_Widget(as_Widget(url), "url"); | 319 | setId_Widget(as_Widget(url), "url"); |
320 | setTextCStr_InputWidget(url, "gemini://"); | 320 | setTextCStr_InputWidget(url, "gemini://"); |
321 | addChildFlags_Widget(navBar, iClob(url), expand_WidgetFlag); | 321 | addChildFlags_Widget(navBar, iClob(url), expand_WidgetFlag); |
322 | setId_Widget( | 322 | setId_Widget(addChild_Widget( |
323 | addChild_Widget(navBar, iClob(newIcon_LabelWidget(reloadCStr_, 0, 0, "navigate.reload"))), | 323 | navBar, iClob(newIcon_LabelWidget(reloadCStr_, 0, 0, "navigate.reload"))), |
324 | "reload"); | 324 | "reload"); |
325 | addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f3e0", 0, 0, "navigate.home"))); | 325 | addChild_Widget(navBar, |
326 | iClob(newIcon_LabelWidget( | ||
327 | "\U0001f3e0", SDLK_h, KMOD_PRIMARY | KMOD_SHIFT, "navigate.home"))); | ||
326 | #if !defined (iHaveNativeMenus) | 328 | #if !defined (iHaveNativeMenus) |
327 | iLabelWidget *navMenu = | 329 | iLabelWidget *navMenu = |
328 | makeMenuButton_LabelWidget("\U0001d362", navMenuItems, iElemCount(navMenuItems)); | 330 | makeMenuButton_LabelWidget("\U0001d362", navMenuItems, iElemCount(navMenuItems)); |