summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/documentwidget.c2
-rw-r--r--src/ui/root.c16
2 files changed, 9 insertions, 9 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 290bf95e..4158b719 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1762,7 +1762,7 @@ static void saveToDownloads_(const iString *url, const iString *mime, const iBlo
1762 exportDownloadedFile_iOS(savePath); 1762 exportDownloadedFile_iOS(savePath);
1763#else 1763#else
1764 const iMenuItem items[2] = { 1764 const iMenuItem items[2] = {
1765 { "Open Downloaded File", 0, 0, 1765 { "${dlg.save.opendownload}", 0, 0,
1766 format_CStr("!open url:%s", cstrCollect_String(makeFileUrl_String(savePath))) }, 1766 format_CStr("!open url:%s", cstrCollect_String(makeFileUrl_String(savePath))) },
1767 { "${dlg.message.ok}", 0, 0, "message.ok" }, 1767 { "${dlg.message.ok}", 0, 0, "message.ok" },
1768 }; 1768 };
diff --git a/src/ui/root.c b/src/ui/root.c
index d660c468..17682125 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -1252,16 +1252,16 @@ void createUserInterface_Root(iRoot *d) {
1252 }, 1252 },
1253 4); 1253 4);
1254 iWidget *splitMenu = makeMenu_Widget(root, (iMenuItem[]){ 1254 iWidget *splitMenu = makeMenu_Widget(root, (iMenuItem[]){
1255 { "Merge Tabs", '1', 0, "ui.split arg:0" }, 1255 { "${menu.split.merge}", '1', 0, "ui.split arg:0" },
1256 { "Swap Sides", SDLK_x, 0, "ui.split swap:1" }, 1256 { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" },
1257 { "---", 0, 0, NULL }, 1257 { "---", 0, 0, NULL },
1258 { "Horizontal", '2', 0, "ui.split arg:3 axis:0" }, 1258 { "${menu.split.horizontal}", '2', 0, "ui.split arg:3 axis:0" },
1259 { "Horizontal 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, 1259 { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" },
1260 { "Horizontal 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, 1260 { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" },
1261 { "---", 0, 0, NULL }, 1261 { "---", 0, 0, NULL },
1262 { "Vertical", '3', 0, "ui.split arg:3 axis:1" }, 1262 { "${menu.split.vertical}", '3', 0, "ui.split arg:3 axis:1" },
1263 { "Vertical 1:2", SDLK_f, 0, "ui.split arg:1 axis:1" }, 1263 { "${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1" },
1264 { "Vertical 2:1", SDLK_r, 0, "ui.split arg:2 axis:1" }, 1264 { "${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1" },
1265 }, 10); 1265 }, 10);
1266 setFlags_Widget(splitMenu, disabledWhenHidden_WidgetFlag, iTrue); /* enabled when open */ 1266 setFlags_Widget(splitMenu, disabledWhenHidden_WidgetFlag, iTrue); /* enabled when open */
1267 setId_Widget(tabsMenu, "doctabs.menu"); 1267 setId_Widget(tabsMenu, "doctabs.menu");