Skip to content

Commit

Permalink
window: Use shorter syntax for menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
oscfdezdz committed Feb 24, 2024
1 parent 3a4f18d commit aec8116
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions src/exm-window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,11 @@ template $ExmWindow : Adw.ApplicationWindow {

menu primary_menu {
section {
item {
label: _("Sort Enabled First");
action: "app.sort-enabled-first";
}
item {
label: _("Show Unsupported");
action: "app.show-unsupported";
}
item (_("Sort Enabled First"), "app.sort-enabled-first")
item (_("Show Unsupported"), "app.show-unsupported")
}
section {
item {
label: _("Upgrade Assistant");
action: "win.show-upgrade-assistant";
}
item {
label: _("About Extension Manager");
action: "app.about";
}
item (_("Upgrade Assistant"), "win.show-upgrade-assistant")
item (_("About Extension Manager"), "app.about")
}
}

0 comments on commit aec8116

Please sign in to comment.