[gnome-builder] menus: tweak menu positioning
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] menus: tweak menu positioning
- Date: Fri, 11 Jan 2019 00:07:58 +0000 (UTC)
commit 16551fad1d82da79db3ce96374b842b1cdf7ab05
Author: Christian Hergert <chergert redhat com>
Date: Thu Jan 10 16:07:33 2019 -0800
menus: tweak menu positioning
src/plugins/buildui/gtk/menus.ui | 2 +-
src/plugins/sysprof/gtk/menus.ui | 2 +-
src/plugins/sysprof/sysprof.plugin | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/buildui/gtk/menus.ui b/src/plugins/buildui/gtk/menus.ui
index 7741b8491..be7a29e77 100644
--- a/src/plugins/buildui/gtk/menus.ui
+++ b/src/plugins/buildui/gtk/menus.ui
@@ -3,7 +3,7 @@
<menu id="ide-primary-workspace-surfaces-menu">
<section id="ide-primary-workspace-surfaces-menu-section">
<item>
- <attribute name="accel"><alt>2</attribute>
+ <attribute name="accel"><alt>comma</attribute>
<attribute name="id">surface-menu-config</attribute>
<attribute name="label" translatable="yes">Build Preferences</attribute>
<attribute name="role">normal</attribute>
diff --git a/src/plugins/sysprof/gtk/menus.ui b/src/plugins/sysprof/gtk/menus.ui
index 03ddad217..805a64ee5 100644
--- a/src/plugins/sysprof/gtk/menus.ui
+++ b/src/plugins/sysprof/gtk/menus.ui
@@ -15,7 +15,7 @@
<item>
<attribute name="accel"><alt>3</attribute>
<attribute name="action">win.surface</attribute>
- <attribute name="after">surface-menu-config</attribute>
+ <attribute name="before">surface-menu-config</attribute>
<attribute name="id">surface-menu-profiler</attribute>
<attribute name="label" translatable="yes">Profiler</attribute>
<attribute name="role">normal</attribute>
diff --git a/src/plugins/sysprof/sysprof.plugin b/src/plugins/sysprof/sysprof.plugin
index 602e998a0..4b4c07c40 100644
--- a/src/plugins/sysprof/sysprof.plugin
+++ b/src/plugins/sysprof/sysprof.plugin
@@ -2,6 +2,7 @@
Authors=Christian Hergert <christian hergert me>
Builtin=true
Copyright=Copyright © 2016-2018 Christian Hergert
+Depends=buildui;
Description=Integration with the Sysprof system profiler
Embedded=_gbp_sysprof_register_types
Hidden=true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]