[gnome-builder/wip/gtk4-port: 928/1774] libide/sourceview: fix actions for cut/copy/paste
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 928/1774] libide/sourceview: fix actions for cut/copy/paste
- Date: Mon, 11 Jul 2022 22:31:28 +0000 (UTC)
commit 099276c7d077dd513db521347fad175c8ad6e5ee
Author: Christian Hergert <chergert redhat com>
Date: Sun May 8 16:27:49 2022 -0700
libide/sourceview: fix actions for cut/copy/paste
and drop Delete, it's not really all that helpful.
src/libide/sourceview/gtk/menus.ui | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/libide/sourceview/gtk/menus.ui b/src/libide/sourceview/gtk/menus.ui
index ace729427..9feba911b 100644
--- a/src/libide/sourceview/gtk/menus.ui
+++ b/src/libide/sourceview/gtk/menus.ui
@@ -31,25 +31,20 @@
<section id="ide-source-view-popup-menu-clipboard-section">
<item>
<attribute name="label" translatable="yes">C_ut</attribute>
- <attribute name="action">sourceview.cut-clipboard</attribute>
+ <attribute name="action">clipboard.cut</attribute>
<attribute name="accel"><control>x</attribute>
</item>
<item>
<attribute name="id">copy</attribute>
<attribute name="label" translatable="yes">_Copy</attribute>
- <attribute name="action">sourceview.copy-clipboard</attribute>
+ <attribute name="action">clipboard.copy</attribute>
<attribute name="accel"><control>c</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Paste</attribute>
- <attribute name="action">sourceview.paste-clipboard</attribute>
+ <attribute name="action">clipboard.paste</attribute>
<attribute name="accel"><control>v</attribute>
</item>
- <item>
- <attribute name="label" translatable="yes">_Delete</attribute>
- <attribute name="action">sourceview.delete-selection</attribute>
- <attribute name="accel">Delete</attribute>
- </item>
</section>
<section id="ide-source-view-popup-menu-highlighting-section">
<submenu id="ide-source-view-popup-menu-highlighting-submenu">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]