[gnome-builder/wip/gtk4-port: 1023/1774] libide/sourceview: fix various menu entries
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1023/1774] libide/sourceview: fix various menu entries
- Date: Mon, 11 Jul 2022 22:31:31 +0000 (UTC)
commit b1ad0a59e6fbe210c40d41465f195a85f50442cb
Author: Christian Hergert <chergert redhat com>
Date: Sat May 14 17:52:27 2022 -0700
libide/sourceview: fix various menu entries
src/libide/sourceview/gtk/menus.ui | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
---
diff --git a/src/libide/sourceview/gtk/menus.ui b/src/libide/sourceview/gtk/menus.ui
index d2c5078aa..118f9fe12 100644
--- a/src/libide/sourceview/gtk/menus.ui
+++ b/src/libide/sourceview/gtk/menus.ui
@@ -51,39 +51,32 @@
<attribute name="label" translatable="yes">_Selection</attribute>
<item>
<attribute name="label" translatable="yes">Select _All</attribute>
- <attribute name="action">sourceview.select-all</attribute>
- <attribute name="target" type="(b)">(true,)</attribute>
+ <attribute name="action">selection.select-all</attribute>
<attribute name="accel"><control>a</attribute>
</item>
- <item>
- <attribute name="label" translatable="yes">Select _None</attribute>
- <attribute name="action">sourceview.select-all</attribute>
- <attribute name="target" type="(b)">(false,)</attribute>
- <attribute name="accel"><control>backslash</attribute>
- </item>
<section id="ide-source-view-popup-menu-case-section">
<item>
<attribute name="label" translatable="yes">All _Upper Case</attribute>
- <attribute name="action">sourceview.change-case</attribute>
- <attribute name="target" type="(u)">(1,)</attribute>
+ <attribute name="action">source.change-case</attribute>
+ <attribute name="target" type="s">'upper'</attribute>
<attribute name="accel"><control>u</attribute>
</item>
<item>
<attribute name="label" translatable="yes">All _Lower Case</attribute>
- <attribute name="action">sourceview.change-case</attribute>
- <attribute name="target" type="(u)">(0,)</attribute>
+ <attribute name="action">source.change-case</attribute>
+ <attribute name="target" type="s">'lower'</attribute>
<attribute name="accel"><control>l</attribute>
</item>
<item>
<attribute name="label" translatable="yes">In_vert Case</attribute>
- <attribute name="action">sourceview.change-case</attribute>
- <attribute name="target" type="(u)">(2,)</attribute>
+ <attribute name="action">source.change-case</attribute>
+ <attribute name="target" type="s">'toggle'</attribute>
<attribute name="accel"><control>asciitilde</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Title Case</attribute>
- <attribute name="action">sourceview.change-case</attribute>
- <attribute name="target" type="(u)">(3,)</attribute>
+ <attribute name="action">source.change-case</attribute>
+ <attribute name="target" type="s">'title'</attribute>
</item>
</section>
<section id="ide-source-view-popup-menu-line-section">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]