shortcuts: avoid classic shortcuts like ctrl+a

Change-Id: Id370f9c1596922405841523f2499c1e6c9de843e
parent 794ff52c
......@@ -127,7 +127,7 @@ ring_accelerators(RingClient *client)
const gchar *quit_accels[2] = {"<Ctrl>Q", NULL};
gtk_application_set_accels_for_action(GTK_APPLICATION(client), "app.quit", quit_accels);
const gchar *accounts_accels[2] = {"<Ctrl>A", NULL};
const gchar *accounts_accels[2] = {"<Ctrl>J", NULL};
gtk_application_set_accels_for_action(GTK_APPLICATION(client), "app.display_account_list", accounts_accels);
const gchar *search_accels[2] = {"<Ctrl>F", NULL};
......@@ -161,7 +161,7 @@ ring_accelerators(RingClient *client)
#else
gtk_application_add_accelerator(GTK_APPLICATION(client), "<Control>Q", "app.quit", NULL);
gtk_application_add_accelerator(GTK_APPLICATION(client), "<Control>A", "app.display_account_list", NULL);
gtk_application_add_accelerator(GTK_APPLICATION(client), "<Control>J", "app.display_account_list", NULL);
gtk_application_add_accelerator(GTK_APPLICATION(client), "<Control>F", "app.search", NULL);
......
......@@ -21,7 +21,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">true</property>
<property name="accelerator">&lt;ctrl&gt;a</property>
<property name="accelerator">&lt;ctrl&gt;j</property>
<property name="title" translatable="yes" context="shortcut window">Open account list</property>
</object>
</child>
......@@ -142,7 +142,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">true</property>
<property name="accelerator">&lt;ctrl&gt;s</property>
<property name="accelerator">&lt;ctrl&gt;comma</property>
<property name="title" translatable="yes" context="shortcut window">Open/Close settings page</property>
</object>
</child>
......@@ -163,7 +163,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">true</property>
<property name="accelerator">&lt;ctrl&gt;a</property>
<property name="accelerator">&lt;ctrl&gt;i</property>
<property name="title" translatable="yes" context="shortcut window">Open account settings</property>
</object>
</child>
......
......@@ -117,7 +117,7 @@
<property name="image">image_account_settings</property>
<property name="draw_indicator">False</property>
<property name="group">radiobutton_general_settings</property>
<accelerator key="a" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<accelerator key="i" signal="activate" modifiers="GDK_CONTROL_MASK"/>
</object>
<packing>
<property name="expand">False</property>
......@@ -148,7 +148,7 @@
<property name="can_focus">False</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Settings</property>
<accelerator key="s" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<accelerator key="comma" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<child>
<object class="GtkImage" id="image_settings">
<property name="visible">True</property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment