mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-12 05:31:06 +00:00
update menu item sort order
This commit is contained in:
parent
6425d5102f
commit
53bd6e8fbb
@ -22,6 +22,27 @@ Menu::Menu(
|
||||
// Init components @TODO make builder
|
||||
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();
|
||||
|
||||
MENU__MAIN_TAB->append(
|
||||
@ -115,27 +136,6 @@ Menu::Menu(
|
||||
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();
|
||||
|
||||
MENU__MAIN_TOOLS->append(
|
||||
|
Loading…
x
Reference in New Issue
Block a user