[gnome-builder/wip/chergert/bug1: 67/69] debugger: move menu to debugger section
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/bug1: 67/69] debugger: move menu to debugger section
- Date: Sat, 2 Sep 2017 02:07:23 +0000 (UTC)
commit 70f7bc8d44f338ab3c2c6e2de3c54397ca3e3576
Author: Christian Hergert <chergert redhat com>
Date: Fri Sep 1 12:50:22 2017 -0700
debugger: move menu to debugger section
Technically, we might want to make this be able to be removed.
data/gtk/menus.ui | 8 --------
libide/debugger/gtk/menus.ui | 16 ++++++++++++++++
libide/libide.gresource.xml | 1 +
3 files changed, 17 insertions(+), 8 deletions(-)
---
diff --git a/data/gtk/menus.ui b/data/gtk/menus.ui
index 39df13c..e849629 100644
--- a/data/gtk/menus.ui
+++ b/data/gtk/menus.ui
@@ -332,14 +332,6 @@
<attribute name="verb-icon-name">media-playback-start-symbolic</attribute>
<attribute name="accel"><Control>F5</attribute>
</item>
- <item>
- <attribute name="id">debugger-run-handler</attribute>
- <attribute name="action">run-manager.run-with-handler</attribute>
- <attribute name="target">debugger</attribute>
- <attribute name="label" translatable="yes">Run with Debugger</attribute>
- <attribute name="verb-icon-name">builder-debugger-symbolic</attribute>
- <attribute name="accel">F5</attribute>
- </item>
</section>
</menu>
</interface>
diff --git a/libide/debugger/gtk/menus.ui b/libide/debugger/gtk/menus.ui
new file mode 100644
index 0000000..332fc23
--- /dev/null
+++ b/libide/debugger/gtk/menus.ui
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<interface>
+ <menu id="run-menu">
+ <section id="run-menu-section">
+ <item>
+ <attribute name="id">debugger-run-handler</attribute>
+ <attribute name="after">default-run-handler</attribute>
+ <attribute name="action">run-manager.run-with-handler</attribute>
+ <attribute name="target">debugger</attribute>
+ <attribute name="label" translatable="yes">Run with Debugger</attribute>
+ <attribute name="verb-icon-name">builder-debugger-symbolic</attribute>
+ <attribute name="accel">F5</attribute>
+ </item>
+ </section>
+ </menu>
+</interface>
diff --git a/libide/libide.gresource.xml b/libide/libide.gresource.xml
index b6cca01..e72a949 100644
--- a/libide/libide.gresource.xml
+++ b/libide/libide.gresource.xml
@@ -92,6 +92,7 @@
<gresource prefix="/org/gnome/builder/plugins/debugger">
<file alias="debugger.plugin">debugger/debugger.plugin</file>
+ <file compressed="true" alias="gtk/menus.ui">debugger/gtk/menus.ui</file>
</gresource>
<gresource prefix="/org/gnome/builder/plugins/editor">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]