Skip to content

Commit

Permalink
application: Use control instead of primary
Browse files Browse the repository at this point in the history
This is preferable in GTK 4.
  • Loading branch information
A6GibKm committed Apr 1, 2023
1 parent 36867ed commit f52a15d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ var FlatsealApplication = GObject.registerClass({
this.add_action(quit_action);

this.set_accels_for_action('app.documentation', ['F1']);
this.set_accels_for_action('app.shortcuts', ['<Primary>question']);
this.set_accels_for_action('app.quit', ['<Primary>q']);
this.set_accels_for_action('app.shortcuts', ['<Control>question']);
this.set_accels_for_action('app.quit', ['<Control>q']);
}

vfunc_activate() {
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/shortcutsWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;G</property>
<property name="accelerator">&lt;Control&gt;&lt;Shift&gt;G</property>
<property name="title" translatable="yes">Find previous</property>
</object>
</child>
Expand Down

0 comments on commit f52a15d

Please sign in to comment.