diff --git a/data/gtk/game.blp b/data/gtk/game.blp index ba97eb8..d198bc5 100644 --- a/data/gtk/game.blp +++ b/data/gtk/game.blp @@ -99,38 +99,16 @@ template $Game : Box { menu game_options { section { - item { - label: _("Edit"); - action: "app.edit_game"; - } - - item { - label: _("Hide"); - action: "app.hide_game"; - } - - item { - label: _("Remove"); - action: "app.remove_game"; - } + item (_("Edit"), "app.edit_game") + item (_("Hide"), "app.hide_game") + item (_("Remove"), "app.remove_game") } } menu hidden_game_options { section { - item { - label: _("Edit"); - action: "app.edit_game"; - } - - item { - label: _("Unhide"); - action: "app.hide_game"; - } - - item { - label: _("Remove"); - action: "app.remove_game"; - } + item (_("Edit"), "app.edit_game") + item (_("Unhide"), "app.hide_game") + item (_("Remove"), "app.remove_game") } } diff --git a/data/gtk/window.blp b/data/gtk/window.blp index f320b6d..29a1a65 100644 --- a/data/gtk/window.blp +++ b/data/gtk/window.blp @@ -511,36 +511,19 @@ menu primary_menu { } section { - item { - label: _("Preferences"); - action: "app.preferences"; - } - - item { - label: _("Keyboard Shortcuts"); - action: "win.show-help-overlay"; - } - - item { - label: _("About Cartridges"); - action: "app.about"; - } + item (_("Preferences"), "app.preferences") + item (_("Keyboard Shortcuts"), "win.show-help-overlay") + item (_("About Cartridges"), "app.about") } } menu add_games { section { - item { - label: _("Add Game"); - action: "app.add_game"; - } + item (_("Add Game"), "app.add_game") } section { - item { - label: _("Import"); - action: "app.import"; - } + item (_("Import"), "app.import") } } @@ -548,29 +531,10 @@ menu search { section { label: "Search on…"; - item { - label: "IGDB"; - action: "app.igdb_search"; - } - - item { - label: "SteamGridDB"; - action: "app.sgdb_search"; - } - - item { - label: "ProtonDB"; - action: "app.protondb_search"; - } - - item { - label: "Lutris"; - action: "app.lutris_search"; - } - - item { - label: "HowLongToBeat"; - action: "app.hltb_search"; - } + item (_("IGDB"), "app.igdb_search") + item (_("SteamGridDB"), "app.sgdb_search") + item (_("ProtonDB"), "app.protondb_search") + item (_("Lutris"), "app.lutris_search") + item (_("HowLongToBeat"), "app.hltb_search") } }