[gnome-builder] menus: add menus for GbTabStack
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] menus: add menus for GbTabStack
- Date: Tue, 2 Dec 2014 04:24:52 +0000 (UTC)
commit 1135913e357f6756af798f01ebb8e9fba0cb09a6
Author: Christian Hergert <christian hergert me>
Date: Mon Dec 1 19:56:50 2014 -0800
menus: add menus for GbTabStack
src/resources/gtk/menus.ui | 47 ++++++++++++++++++++++++++++++++++++-------
1 files changed, 39 insertions(+), 8 deletions(-)
---
diff --git a/src/resources/gtk/menus.ui b/src/resources/gtk/menus.ui
index 85a427f..aa42a76 100644
--- a/src/resources/gtk/menus.ui
+++ b/src/resources/gtk/menus.ui
@@ -89,14 +89,6 @@
</submenu>
<submenu>
<attribute name="label" translatable="yes">Tools</attribute>
- <item>
- <attribute name="label" translatable="yes">Autoformat Code</attribute>
- <attribute name="action">editor.reformat</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">Trim Trailing Space</attribute>
- <attribute name="action">editor.trim-trailing-space</attribute>
- </item>
</submenu>
</section>
<section>
@@ -111,4 +103,43 @@
</item>
</section>
</menu>
+ <menu id="stack-menu">
+ <section>
+ <attribute name="id">juntion-section</attribute>
+ <attribute name="display-hint">horizontal-buttons</attribute>
+ <item>
+ <attribute name="label" translatable="yes">Move Tab to _Left</attribute>
+ <attribute name="action">tabs.move-left</attribute>
+ <attribute name="verb-icon">builder-move-tab-left</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">_Fullscreen</attribute>
+ <attribute name="action">win.fullscreen</attribute>
+ <attribute name="verb-icon">view-fullscreen-symbolic</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Move Tab to _Right</attribute>
+ <attribute name="action">tabs.move-right</attribute>
+ <attribute name="verb-icon">builder-move-tab-right</attribute>
+ </item>
+ </section>
+ <section>
+ <attribute name="id">file-section-1</attribute>
+ <item>
+ <attribute name="label" translatable="yes">_Save</attribute>
+ <attribute name="action">workbench.save</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">_Save As…</attribute>
+ <attribute name="action">workbench.save-as</attribute>
+ </item>
+ </section>
+ <section>
+ <attribute name="id">close-section</attribute>
+ <item>
+ <attribute name="label" translatable="yes">_Close</attribute>
+ <attribute name="action">workbench.close-tab</attribute>
+ </item>
+ </section>
+ </menu>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]