[gnome-builder] menus: add some missing accelerators for menu items
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] menus: add some missing accelerators for menu items
- Date: Fri, 26 Apr 2019 19:09:24 +0000 (UTC)
commit 25f1fefbc35d41ed81db24821312d1d1d965df1a
Author: Christian Hergert <chergert redhat com>
Date: Fri Apr 26 12:08:18 2019 -0700
menus: add some missing accelerators for menu items
src/libide/gui/gtk/menus.ui | 1 +
src/plugins/editor/gtk/menus.ui | 2 ++
2 files changed, 3 insertions(+)
---
diff --git a/src/libide/gui/gtk/menus.ui b/src/libide/gui/gtk/menus.ui
index 426c77dee..17008e412 100644
--- a/src/libide/gui/gtk/menus.ui
+++ b/src/libide/gui/gtk/menus.ui
@@ -67,6 +67,7 @@
<attribute name="id">open-file</attribute>
<attribute name="label" translatable="yes">Open File…</attribute>
<attribute name="action">workbench.open</attribute>
+ <attribute name="accel"><primary>o</attribute>
</item>
</section>
</menu>
diff --git a/src/plugins/editor/gtk/menus.ui b/src/plugins/editor/gtk/menus.ui
index 1a254f934..31d92e46d 100644
--- a/src/plugins/editor/gtk/menus.ui
+++ b/src/plugins/editor/gtk/menus.ui
@@ -93,6 +93,7 @@
<attribute name="id">new-file</attribute>
<attribute name="label" translatable="yes">New File</attribute>
<attribute name="action">editor.new-file</attribute>
+ <attribute name="accel"><primary>n</attribute>
</item>
</section>
<section id="open-document-section">
@@ -100,6 +101,7 @@
<attribute name="id">open-file</attribute>
<attribute name="label" translatable="yes">Open File…</attribute>
<attribute name="action">workbench.open</attribute>
+ <attribute name="accel"><primary>o</attribute>
</item>
</section>
</menu>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]