[nautilus] ui: specify accelerators=true for our menu definitions
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] ui: specify accelerators=true for our menu definitions
- Date: Thu, 14 Feb 2013 14:49:36 +0000 (UTC)
commit 1c2b1e33346d2b06dedff3d81fc36e679e2d0761
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Feb 14 09:48:09 2013 -0500
ui: specify accelerators=true for our menu definitions
This will make GtkMenuButton do the right thing and show accelerators in
the popup.
Thanks to Juanjo MarÃn for the fix.
https://bugzilla.gnome.org/show_bug.cgi?id=680962
src/nautilus-canvas-view-ui.xml | 2 +-
src/nautilus-directory-view-ui.xml | 4 ++--
src/nautilus-list-view-ui.xml | 2 +-
src/nautilus-shell-ui.xml | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/nautilus-canvas-view-ui.xml b/src/nautilus-canvas-view-ui.xml
index 5a3b313..1caffe1 100644
--- a/src/nautilus-canvas-view-ui.xml
+++ b/src/nautilus-canvas-view-ui.xml
@@ -1,5 +1,5 @@
<ui>
- <popup name="ViewMenu">
+ <popup name="ViewMenu" accelerators="true">
<placeholder name="Layout Options">
<menuitem name="Manual Layout" action="Manual Layout"/>
<placeholder name="Auto Layout">
diff --git a/src/nautilus-directory-view-ui.xml b/src/nautilus-directory-view-ui.xml
index efdb9d1..e164fec 100644
--- a/src/nautilus-directory-view-ui.xml
+++ b/src/nautilus-directory-view-ui.xml
@@ -4,13 +4,13 @@
<accelerator action="OpenCloseParent"/>
<accelerator action="PropertiesAccel"/>
<accelerator action="RenameSelectAll"/>
-<popup name="ViewMenu">
+<popup name="ViewMenu" accelerators="true">
<placeholder name="View Details">
<menuitem name="Reset to Defaults" action="Reset to Defaults"/>
<menuitem name="Show Hidden Files" action="Show Hidden Files"/>
</placeholder>
</popup>
-<popup name="ActionMenu">
+<popup name="ActionMenu" accelerators="true">
<placeholder name="New Items Placeholder">
<menuitem name="New Folder" action="New Folder"/>
<menuitem name="New Folder with Selection" action="New Folder with Selection"/>
diff --git a/src/nautilus-list-view-ui.xml b/src/nautilus-list-view-ui.xml
index 22ca858..20f336d 100644
--- a/src/nautilus-list-view-ui.xml
+++ b/src/nautilus-list-view-ui.xml
@@ -1,5 +1,5 @@
<ui>
- <popup name="ViewMenu">
+ <popup name="ViewMenu" accelerators="true">
<placeholder name="View Details">
<menuitem name="Visible Columns" action="Visible Columns"/>
</placeholder>
diff --git a/src/nautilus-shell-ui.xml b/src/nautilus-shell-ui.xml
index 2fb2961..4cb7348 100644
--- a/src/nautilus-shell-ui.xml
+++ b/src/nautilus-shell-ui.xml
@@ -15,7 +15,7 @@
<accelerator action="ZoomOutAccel"/>
<accelerator action="PromptLocationAccel"/>
<accelerator action="ReloadAccel"/>
-<popup name="ViewMenu">
+<popup name="ViewMenu" accelerators="true">
<placeholder name="Zoom Items Placeholder">
<menuitem name="Zoom In" action="Zoom In"/>
<menuitem name="Zoom Out" action="Zoom Out"/>
@@ -33,7 +33,7 @@
<separator/>
<placeholder name="View Details"/>
</popup>
-<popup name="ActionMenu">
+<popup name="ActionMenu" accelerators="true">
<placeholder name="New Items Placeholder">
<menuitem name="New Tab" action="New Tab"/>
<menuitem name="New Window" action="New Window"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]