[devhelp] Retire app menu: typical arrangement of app menu items in a primary menu
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] Retire app menu: typical arrangement of app menu items in a primary menu
- Date: Fri, 12 Oct 2018 12:52:38 +0000 (UTC)
commit 0490a4b166ea6c156fec594b049a3d4b68de9d4c
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Oct 12 13:58:06 2018 +0200
Retire app menu: typical arrangement of app menu items in a primary menu
From the GNOME goal:
https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement
“The typical arrangement of app menu items in a primary menu is a single
group of items:
- Preferences
- Keyboard Shortcuts
- Help
- About application-nameâ€
So merge the two sections.
src/dh-window.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index eeb4ce06..eaca0ae0 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -498,9 +498,6 @@ create_menu (void)
section = g_menu_new ();
amtk_gmenu_append_item (section, amtk_factory_create_gmenu_item (factory, "app.preferences"));
- amtk_gmenu_append_section (menu, NULL, section);
-
- section = g_menu_new ();
amtk_gmenu_append_item (section, amtk_factory_create_gmenu_item (factory, "win.shortcuts-window"));
amtk_gmenu_append_item (section, amtk_factory_create_gmenu_item (factory, "app.help"));
amtk_gmenu_append_item (section, amtk_factory_create_gmenu_item (factory, "app.about"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]