mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 15:22:11 +02:00
clapper-app: Add new window keyboard shortcut
This commit is contained in:
@@ -671,6 +671,7 @@ clapper_app_application_constructed (GObject *object)
|
|||||||
static const ClapperAppShortcut app_shortcuts[] = {
|
static const ClapperAppShortcut app_shortcuts[] = {
|
||||||
{ "app.add-files", { "<Control>o", NULL, NULL }},
|
{ "app.add-files", { "<Control>o", NULL, NULL }},
|
||||||
{ "app.add-uri", { "<Control>u", NULL, NULL }},
|
{ "app.add-uri", { "<Control>u", NULL, NULL }},
|
||||||
|
{ "app.new-window", { "<Control>n", NULL, NULL }},
|
||||||
{ "app.info", { "<Control>i", NULL, NULL }},
|
{ "app.info", { "<Control>i", NULL, NULL }},
|
||||||
{ "app.preferences", { "<Control>comma", NULL, NULL }},
|
{ "app.preferences", { "<Control>comma", NULL, NULL }},
|
||||||
{ "app.about", { "F1", NULL, NULL }},
|
{ "app.about", { "F1", NULL, NULL }},
|
||||||
|
@@ -10,8 +10,8 @@
|
|||||||
<property name="title" translatable="yes">General</property>
|
<property name="title" translatable="yes">General</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkShortcutsShortcut">
|
<object class="GtkShortcutsShortcut">
|
||||||
<property name="title" translatable="yes">Show shortcuts</property>
|
<property name="title" translatable="yes">New window</property>
|
||||||
<property name="accelerator"><Ctrl>question</property>
|
<property name="accelerator"><Ctrl>n</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
@@ -20,6 +20,12 @@
|
|||||||
<property name="accelerator"><Ctrl>comma</property>
|
<property name="accelerator"><Ctrl>comma</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkShortcutsShortcut">
|
||||||
|
<property name="title" translatable="yes">Show shortcuts</property>
|
||||||
|
<property name="accelerator"><Ctrl>question</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkShortcutsShortcut">
|
<object class="GtkShortcutsShortcut">
|
||||||
<property name="title" translatable="yes">Toggle fullscreen</property>
|
<property name="title" translatable="yes">Toggle fullscreen</property>
|
||||||
|
Reference in New Issue
Block a user