Changed shortcuts to standards

This commit is contained in:
jeffser
2024-08-04 17:50:52 -06:00
parent 2825e9a003
commit 0d017c6d14
3 changed files with 12 additions and 4 deletions

View File

@@ -50,8 +50,8 @@ class AlpacaApplication(Adw.Application):
def __init__(self, version):
super().__init__(application_id='com.jeffser.Alpaca',
flags=Gio.ApplicationFlags.DEFAULT_FLAGS)
self.create_action('quit', lambda *_: self.quit(), ['<primary>q'])
self.create_action('preferences', lambda *_: AlpacaWindow.show_preferences_dialog(self.props.active_window), ['<primary>p'])
self.create_action('quit', lambda *_: self.quit(), ['<primary>w'])
self.create_action('preferences', lambda *_: AlpacaWindow.show_preferences_dialog(self.props.active_window), ['<primary>comma'])
self.create_action('about', self.on_about_action)
self.version = version