[gnome-builder/wip/chergert/perspective] terminal: add "New Terminal" item to gear menu
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/perspective] terminal: add "New Terminal" item to gear menu
- Date: Fri, 4 Dec 2015 10:01:44 +0000 (UTC)
commit 1637a22c43ca134b4a862a4bc866f71a37992f95
Author: Christian Hergert <chergert redhat com>
Date: Fri Dec 4 02:01:21 2015 -0800
terminal: add "New Terminal" item to gear menu
plugins/terminal/gb-terminal.gresource.xml | 1 +
plugins/terminal/gtk/menus.ui | 12 ++++++++++++
2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/plugins/terminal/gb-terminal.gresource.xml b/plugins/terminal/gb-terminal.gresource.xml
index 17d816c..c61243d 100644
--- a/plugins/terminal/gb-terminal.gresource.xml
+++ b/plugins/terminal/gb-terminal.gresource.xml
@@ -2,5 +2,6 @@
<gresources>
<gresource prefix="/org/gnome/builder/plugins/terminal">
<file>gb-terminal-view.ui</file>
+ <file>gtk/menus.ui</file>
</gresource>
</gresources>
diff --git a/plugins/terminal/gtk/menus.ui b/plugins/terminal/gtk/menus.ui
new file mode 100644
index 0000000..b53270f
--- /dev/null
+++ b/plugins/terminal/gtk/menus.ui
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<interface>
+ <menu id="gear-menu">
+ <section id="gear-menu-new-section">
+ <item>
+ <attribute name="label" translatable="yes">_New Terminal</attribute>
+ <attribute name="action">win.new-terminal</attribute>
+ <attribute name="accel"><ctrl><shift>t</attribute>
+ </item>
+ </section>
+ </menu>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]