window: Use Alt instead of Ctrl

This seems to be the more preferred modifier for selecting views
within an application (e.g., Chrome, Firefox, Geary, Nautilus).
This commit is contained in:
Björn Daase
2022-02-12 22:43:06 +01:00
parent bf7790862a
commit 5c8fec5008
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -67,21 +67,21 @@
</child>
<child>
<object class="GtkShortcut">
<property name="trigger">&lt;Control&gt;1</property>
<property name="trigger">&lt;Alt&gt;1</property>
<property name="action">action(win.change-view)</property>
<property name="arguments">0</property>
</object>
</child>
<child>
<object class="GtkShortcut">
<property name="trigger">&lt;Control&gt;2</property>
<property name="trigger">&lt;Alt&gt;2</property>
<property name="action">action(win.change-view)</property>
<property name="arguments">1</property>
</object>
</child>
<child>
<object class="GtkShortcut">
<property name="trigger">&lt;Control&gt;3</property>
<property name="trigger">&lt;Alt&gt;3</property>
<property name="action">action(win.change-view)</property>
<property name="arguments">2</property>
</object>
+3 -3
View File
@@ -82,19 +82,19 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Week view</property>
<property name="accelerator">&lt;Primary&gt;1</property>
<property name="accelerator">&lt;Alt&gt;1</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Month view</property>
<property name="accelerator">&lt;Primary&gt;2</property>
<property name="accelerator">&lt;Alt&gt;2</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Year view</property>
<property name="accelerator">&lt;Primary&gt;3</property>
<property name="accelerator">&lt;Alt&gt;3</property>
</object>
</child>
</object>