[gnome-builder] libide/editor: add menu entries for editor page



commit f1cf08b2b164fdd7ea97e3f3ce65fb52af787084
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 28 10:58:24 2022 -0700

    libide/editor: add menu entries for editor page

 src/libide/editor/gtk/menus.ui | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/src/libide/editor/gtk/menus.ui b/src/libide/editor/gtk/menus.ui
index 64c8997bb..7c24c8eb6 100644
--- a/src/libide/editor/gtk/menus.ui
+++ b/src/libide/editor/gtk/menus.ui
@@ -73,5 +73,17 @@
         <attribute name="accel">&lt;ctrl&gt;&lt;shift&gt;s</attribute>
       </item>
     </section>
+    <section id="ide-editor-page-search-section">
+      <item>
+        <attribute name="label" translatable="yes">Find…</attribute>
+        <attribute name="action">page.search.begin-find</attribute>
+        <attribute name="accel">&lt;ctrl&gt;f</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">Find/Replace…</attribute>
+        <attribute name="action">page.search.begin-replace</attribute>
+        <attribute name="accel">&lt;ctrl&gt;h</attribute>
+      </item>
+    </section>
   </menu>
 </interface>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]