diff options
Diffstat (limited to 'src/ui/root.c')
-rw-r--r-- | src/ui/root.c | 16 |
1 files changed, 8 insertions, 8 deletions
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"); |