[meld: 4/5] Move swap action to the View submenu
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld: 4/5] Move swap action to the View submenu
- Date: Sat, 9 Apr 2022 23:19:04 +0000 (UTC)
commit 6137c625a0e463511b04a68e5f4d638f780a5287
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Apr 10 09:13:01 2022 +1000
Move swap action to the View submenu
This is probably not going to be a commonly used item, and given that
we have assigned it a shortcut already, I think grouping it in with
somewhat-related menu items makes sense.
meld/resources/gtk/help-overlay.ui | 2 +-
meld/resources/gtk/menus.ui | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/meld/resources/gtk/help-overlay.ui b/meld/resources/gtk/help-overlay.ui
index ea84acf3..36e2ea79 100644
--- a/meld/resources/gtk/help-overlay.ui
+++ b/meld/resources/gtk/help-overlay.ui
@@ -58,7 +58,7 @@
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="accelerator"><alt>backslash</property>
- <property name="title" translatable="yes" context="shortcut window">Swap the two
panes</property>
+ <property name="title" translatable="yes" context="shortcut window">Swap left and right
panes</property>
</object>
</child>
</object>
diff --git a/meld/resources/gtk/menus.ui b/meld/resources/gtk/menus.ui
index c01980ff..14140a2e 100644
--- a/meld/resources/gtk/menus.ui
+++ b/meld/resources/gtk/menus.ui
@@ -50,13 +50,6 @@
<attribute name="action">view.find-replace</attribute>
</item>
</section>
- <section>
- <attribute name="id">swap-section</attribute>
- <item>
- <attribute name="label" translatable="yes">Swap two panes</attribute>
- <attribute name="action">view.swap-2-panes</attribute>
- </item>
- </section>
<section>
<submenu>
<attribute name="label" translatable="yes">View</attribute>
@@ -75,6 +68,13 @@
<attribute name="action">view.lock-scrolling</attribute>
</item>
</section>
+ <section>
+ <attribute name="id">swap-section</attribute>
+ <item>
+ <attribute name="label" translatable="yes">Swap left and right panes</attribute>
+ <attribute name="action">view.swap-2-panes</attribute>
+ </item>
+ </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">Comparison</attribute>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]