[gnome-builder] libide/editor: some menu cleanup
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/editor: some menu cleanup
- Date: Thu, 28 Jul 2022 04:11:44 +0000 (UTC)
commit fa7c2648c03ec32a8adbc9cd5c8d13441cdf2107
Author: Christian Hergert <chergert redhat com>
Date: Wed Jul 27 21:05:00 2022 -0700
libide/editor: some menu cleanup
src/libide/editor/gtk/menus.ui | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/libide/editor/gtk/menus.ui b/src/libide/editor/gtk/menus.ui
index 7227054c5..78062101a 100644
--- a/src/libide/editor/gtk/menus.ui
+++ b/src/libide/editor/gtk/menus.ui
@@ -59,17 +59,18 @@
<section id="ide-editor-page-document-section">
<attribute name="label" translatable="yes">Document</attribute>
</section>
- <section id="ide-editor-page-preview-section">
- <attribute name="after">ide-editor-page-document-section</attribute>
- </section>
+ <section id="ide-editor-page-preview-section"/>
<section id="ide-editor-page-reveal-section"/>
<section id="ide-editor-page-save-section">
- <attribute name="after">ide-editor-page-reveal-section</attribute>
<item>
<attribute name="label" translatable="yes">Save</attribute>
+ <attribute name="action">page.editor.save</attribute>
+ <attribute name="accel"><ctrl>s</attribute>
</item>
<item>
- <attribute name="label" translatable="yes">Save As</attribute>
+ <attribute name="label" translatable="yes">Save _As</attribute>
+ <attribute name="action">page.editor.save-as</attribute>
+ <attribute name="accel"><ctrl><shift>s</attribute>
</item>
</section>
</menu>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]