[nautilus] window-menus: hide "Help" menu when using an application menu
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window-menus: hide "Help" menu when using an application menu
- Date: Wed, 25 Apr 2012 17:31:12 +0000 (UTC)
commit 6fb160ab902737c7301ad89d20cbcc16f4c355a2
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Apr 25 13:29:30 2012 -0400
window-menus: hide "Help" menu when using an application menu
It doesn't make a lot of sense to keep it with a list of entries like that
without "All Topics", which is now in the application menu; so hide it
entirely in such a case.
src/nautilus-window-menus.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-window-menus.c b/src/nautilus-window-menus.c
index 55a70fc..76992cf 100644
--- a/src/nautilus-window-menus.c
+++ b/src/nautilus-window-menus.c
@@ -977,7 +977,10 @@ static const gchar* app_actions[] = {
NAUTILUS_ACTION_PREFERENCES,
NAUTILUS_ACTION_HELP,
NAUTILUS_ACTION_ABOUT,
- NAUTILUS_ACTION_CLOSE_ALL_WINDOWS
+ NAUTILUS_ACTION_CLOSE_ALL_WINDOWS,
+
+ /* also hide the help menu entirely when using an app menu */
+ "Help"
};
GtkActionGroup *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]