[gnome-builder] libide/sourceview: move selection section
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/sourceview: move selection section
- Date: Fri, 29 Jul 2022 23:54:34 +0000 (UTC)
commit a6b0ed680404b87a67a7d8711a1c01c8c51580bf
Author: Christian Hergert <chergert redhat com>
Date: Fri Jul 29 16:53:41 2022 -0700
libide/sourceview: move selection section
This really needs more space as it gets populated with a bunch of things
beyond just the simple all/none stuff.
src/libide/sourceview/gtk/menus.ui | 75 ++++++++++++++++++++------------------
1 file changed, 39 insertions(+), 36 deletions(-)
---
diff --git a/src/libide/sourceview/gtk/menus.ui b/src/libide/sourceview/gtk/menus.ui
index 457bfedbc..bb540f58d 100644
--- a/src/libide/sourceview/gtk/menus.ui
+++ b/src/libide/sourceview/gtk/menus.ui
@@ -18,6 +18,44 @@
<attribute name="label" translatable="yes">_Paste</attribute>
<attribute name="action">clipboard.paste</attribute>
</item>
+ </section>
+ <section id="ide-source-view-popup-menu-undo-section">
+ <attribute name="display-hint">inline-buttons</attribute>
+ <attribute name="label" translatable="yes">Undo</attribute>
+ <item>
+ <attribute name="label" translatable="yes">Undo</attribute>
+ <attribute name="action">text.undo</attribute>
+ <attribute name="verb-icon">edit-undo-symbolic</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Redo</attribute>
+ <attribute name="action">text.redo</attribute>
+ <attribute name="verb-icon">edit-redo-symbolic</attribute>
+ </item>
+ </section>
+ <section id="ide-source-view-popup-menu-zoom-section">
+ <attribute name="label" translatable="yes">Zoom</attribute>
+ <attribute name="display-hint">inline-buttons</attribute>
+ <item>
+ <attribute name="label" translatable="yes">Zoom Out</attribute>
+ <attribute name="verb-icon">zoom-out-symbolic</attribute>
+ <attribute name="action">zoom.out</attribute>
+ <attribute name="accel"><control>minus</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Reset Zoom</attribute>
+ <attribute name="verb-icon">zoom-original-symbolic</attribute>
+ <attribute name="action">zoom.one</attribute>
+ <attribute name="accel"><control>0</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Zoom In</attribute>
+ <attribute name="verb-icon">zoom-in-symbolic</attribute>
+ <attribute name="action">zoom.in</attribute>
+ <attribute name="accel"><control>plus</attribute>
+ </item>
+ </section>
+ <section id="ide-source-view-popup-menu-selection-section">
<submenu id="ide-source-view-popup-menu-selection-submenu">
<attribute name="label" translatable="yes">_Selection</attribute>
<item>
@@ -63,44 +101,9 @@
<attribute name="accel"><shift><control>j</attribute>
</item>
</section>
+ <section id="ide-source-view-popup-menu-format-section"/>
</submenu>
</section>
- <section id="ide-source-view-popup-menu-undo-section">
- <attribute name="display-hint">inline-buttons</attribute>
- <attribute name="label" translatable="yes">Undo</attribute>
- <item>
- <attribute name="label" translatable="yes">Undo</attribute>
- <attribute name="action">text.undo</attribute>
- <attribute name="verb-icon">edit-undo-symbolic</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">Redo</attribute>
- <attribute name="action">text.redo</attribute>
- <attribute name="verb-icon">edit-redo-symbolic</attribute>
- </item>
- </section>
- <section id="ide-source-view-popup-menu-zoom-section">
- <attribute name="label" translatable="yes">Zoom</attribute>
- <attribute name="display-hint">inline-buttons</attribute>
- <item>
- <attribute name="label" translatable="yes">Zoom Out</attribute>
- <attribute name="verb-icon">zoom-out-symbolic</attribute>
- <attribute name="action">zoom.out</attribute>
- <attribute name="accel"><control>minus</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">Reset Zoom</attribute>
- <attribute name="verb-icon">zoom-original-symbolic</attribute>
- <attribute name="action">zoom.one</attribute>
- <attribute name="accel"><control>0</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">Zoom In</attribute>
- <attribute name="verb-icon">zoom-in-symbolic</attribute>
- <attribute name="action">zoom.in</attribute>
- <attribute name="accel"><control>plus</attribute>
- </item>
- </section>
<section id="ide-source-view-popup-menu-jump-section">
<item>
<attribute name="id">source-view-goto-def</attribute>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]