diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-27 13:51:51 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-27 13:51:51 +0300 |
commit | 18dcb69f7a225a9d175c00a956fa132299689a6e (patch) | |
tree | cb0cc66a5bb66f851d57e6cca4ed2f070656725b /src/ui | |
parent | 11f0b4208721d4b59b5cbef87350955f5a05e50d (diff) |
Minor UI tweaks
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/documentwidget.c | 6 | ||||
-rw-r--r-- | src/ui/root.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 5f7fcd8e..f5c3d6b6 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -3667,8 +3667,8 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
3667 | pushBackN_Array( | 3667 | pushBackN_Array( |
3668 | &items, | 3668 | &items, |
3669 | (iMenuItem[]){ | 3669 | (iMenuItem[]){ |
3670 | { "${menu.back}", navigateBack_KeyShortcut, "navigate.back" }, | 3670 | { backArrow_Icon " ${menu.back}", navigateBack_KeyShortcut, "navigate.back" }, |
3671 | { "${menu.forward}", navigateForward_KeyShortcut, "navigate.forward" }, | 3671 | { forwardArrow_Icon " ${menu.forward}", navigateForward_KeyShortcut, "navigate.forward" }, |
3672 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | 3672 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, |
3673 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | 3673 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, |
3674 | { "---" }, | 3674 | { "---" }, |
@@ -3683,7 +3683,7 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
3683 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | 3683 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, |
3684 | { "---" }, | 3684 | { "---" }, |
3685 | { "${menu.page.copyurl}", 0, 0, "document.copylink" } }, | 3685 | { "${menu.page.copyurl}", 0, 0, "document.copylink" } }, |
3686 | 15); | 3686 | 16); |
3687 | if (isEmpty_Range(&d->selectMark)) { | 3687 | if (isEmpty_Range(&d->selectMark)) { |
3688 | pushBackN_Array( | 3688 | pushBackN_Array( |
3689 | &items, | 3689 | &items, |
diff --git a/src/ui/root.c b/src/ui/root.c index a7058f49..7bc26511 100644 --- a/src/ui/root.c +++ b/src/ui/root.c | |||
@@ -1347,11 +1347,11 @@ void createUserInterface_Root(iRoot *d) { | |||
1347 | commandOnClick_WidgetFlag | | 1347 | commandOnClick_WidgetFlag | |
1348 | drawBackgroundToBottom_WidgetFlag, iTrue); | 1348 | drawBackgroundToBottom_WidgetFlag, iTrue); |
1349 | setId_Widget(addChildFlags_Widget(toolBar, | 1349 | setId_Widget(addChildFlags_Widget(toolBar, |
1350 | iClob(newLargeIcon_LabelWidget("\U0001f870", "navigate.back")), | 1350 | iClob(newLargeIcon_LabelWidget(backArrow_Icon, "navigate.back")), |
1351 | frameless_WidgetFlag), | 1351 | frameless_WidgetFlag), |
1352 | "toolbar.back"); | 1352 | "toolbar.back"); |
1353 | setId_Widget(addChildFlags_Widget(toolBar, | 1353 | setId_Widget(addChildFlags_Widget(toolBar, |
1354 | iClob(newLargeIcon_LabelWidget("\U0001f872", "navigate.forward")), | 1354 | iClob(newLargeIcon_LabelWidget(forwardArrow_Icon, "navigate.forward")), |
1355 | frameless_WidgetFlag), | 1355 | frameless_WidgetFlag), |
1356 | "toolbar.forward"); | 1356 | "toolbar.forward"); |
1357 | setId_Widget(addChildFlags_Widget(toolBar, | 1357 | setId_Widget(addChildFlags_Widget(toolBar, |