mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update menu item sort order
This commit is contained in:
parent
6425d5102f
commit
53bd6e8fbb
1 changed files with 21 additions and 21 deletions
|
|
@ -22,6 +22,27 @@ Menu::Menu(
|
||||||
// Init components @TODO make builder
|
// Init components @TODO make builder
|
||||||
const auto MENU__MAIN = Gio::Menu::create();
|
const auto MENU__MAIN = Gio::Menu::create();
|
||||||
|
|
||||||
|
const auto MENU__MAIN_SESSION = Gio::Menu::create();
|
||||||
|
|
||||||
|
MENU__MAIN_SESSION->append(
|
||||||
|
_("Restore"),
|
||||||
|
get_action_detailed_name(
|
||||||
|
ACTION__RESTORE
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
MENU__MAIN_SESSION->append(
|
||||||
|
_("Save"),
|
||||||
|
get_action_detailed_name(
|
||||||
|
ACTION__SAVE
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
MENU__MAIN->append_submenu(
|
||||||
|
_("Session"),
|
||||||
|
MENU__MAIN_SESSION
|
||||||
|
);
|
||||||
|
|
||||||
const auto MENU__MAIN_TAB = Gio::Menu::create();
|
const auto MENU__MAIN_TAB = Gio::Menu::create();
|
||||||
|
|
||||||
MENU__MAIN_TAB->append(
|
MENU__MAIN_TAB->append(
|
||||||
|
|
@ -115,27 +136,6 @@ Menu::Menu(
|
||||||
MENU__MAIN_TAB
|
MENU__MAIN_TAB
|
||||||
);
|
);
|
||||||
|
|
||||||
const auto MENU__MAIN_SESSION = Gio::Menu::create();
|
|
||||||
|
|
||||||
MENU__MAIN_SESSION->append(
|
|
||||||
_("Restore"),
|
|
||||||
get_action_detailed_name(
|
|
||||||
ACTION__RESTORE
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
MENU__MAIN_SESSION->append(
|
|
||||||
_("Save"),
|
|
||||||
get_action_detailed_name(
|
|
||||||
ACTION__SAVE
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
MENU__MAIN->append_submenu(
|
|
||||||
_("Session"),
|
|
||||||
MENU__MAIN_SESSION
|
|
||||||
);
|
|
||||||
|
|
||||||
const auto MENU__MAIN_TOOLS = Gio::Menu::create();
|
const auto MENU__MAIN_TOOLS = Gio::Menu::create();
|
||||||
|
|
||||||
MENU__MAIN_TOOLS->append(
|
MENU__MAIN_TOOLS->append(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue