[gnome-builder] testing: add menu for unit testing panel



commit 42fa03a72bccc65e0d57738da2d9bcad22d8fcf6
Author: Christian Hergert <chergert redhat com>
Date:   Sun Oct 22 16:46:58 2017 -0700

    testing: add menu for unit testing panel

 src/libide/libide.gresource.xml |    1 +
 src/libide/testing/gtk/menus.ui |   11 +++++++++++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/libide/libide.gresource.xml b/src/libide/libide.gresource.xml
index 8a34d85..23f5405 100644
--- a/src/libide/libide.gresource.xml
+++ b/src/libide/libide.gresource.xml
@@ -110,6 +110,7 @@
 
   <gresource prefix="/org/gnome/builder/plugins/testing">
     <file alias="testing.plugin">testing/testing.plugin</file>
+    <file preprocess="xml-stripblanks" alias="gtk/menus.ui">testing/gtk/menus.ui</file>
   </gresource>
 
   <gresource prefix="/org/gnome/builder/plugins/webkit">
diff --git a/src/libide/testing/gtk/menus.ui b/src/libide/testing/gtk/menus.ui
new file mode 100644
index 0000000..80f2e67
--- /dev/null
+++ b/src/libide/testing/gtk/menus.ui
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<interface>
+  <menu id="testing-menu">
+    <section id="testing-menu-run-section">
+      <item>
+        <attribute name="label" translatable="yes">Run _all tests</attribute>
+        <attribute name="action">test-manager.run-all</attribute>
+      </item>
+    </section>
+  </menu>
+</interface>


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