Skip to content

Commit

Permalink
Add currently existing keyboard shortcuts to shortcuts window
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberphantom52 committed Jun 24, 2023
1 parent 8b6c6e3 commit ac9cf19
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions bottles/frontend/ui/help-overlay.blp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,26 @@ ShortcutsWindow help_overlay {
ShortcutsGroup {
title: C_("shortcut window", "General");

ShortcutsShortcut {
title: C_("shortcut window", "New Bottle");
action-name: "app.new";
}

ShortcutsShortcut {
title: C_("shortcut window", "Import Bottle");
action-name: "app.import";
}

ShortcutsShortcut {
title: C_("shortcut window", "Preferences");
action-name: "app.preferences";
}

ShortcutsShortcut {
title: C_("shortcut window", "Documentation");
action-name: "app.help";
}

ShortcutsShortcut {
title: C_("shortcut window", "Show Shortcuts");
action-name: "win.show-help-overlay";
Expand All @@ -20,10 +40,6 @@ ShortcutsWindow help_overlay {
action-name: "app.quit";
}

ShortcutsShortcut {
title: C_("shortcut window", "New Bottle");
action-name: "app.new";
}
}
}
}

0 comments on commit ac9cf19

Please sign in to comment.