Organize appmenu items into more logical groups

Fixes: https://bugs.launchpad.net/midori/+bug/736072
This commit is contained in:
Daniel Foré 2011-04-07 21:17:18 +02:00 committed by Christian Dywan
parent 3d4f288ba0
commit 1ccdf3b350

View file

@ -2951,31 +2951,41 @@ _action_compact_menu_populate_popup (GtkAction* action,
static const GtkActionEntry actions[] = { static const GtkActionEntry actions[] = {
{ "TabNew" }, { "TabNew" },
{ "WindowNew" }, { "WindowNew" },
{ "PrivateBrowsing" }, { NULL },
{ "Open" }, { "Open" },
{ "Find" }, { "Find" },
#if !HAVE_HILDON #if !HAVE_HILDON
{ "Print" }, { "Print" },
{ NULL },
{ "Panel" },
{ "-" },
{ "ClearPrivateData" },
#if WEBKIT_CHECK_VERSION (1, 1, 17) #if WEBKIT_CHECK_VERSION (1, 1, 17)
{ "InspectPage" }, { "InspectPage" },
#endif #endif
{ "Fullscreen" }, #endif
{ NULL },
{ "PrivateBrowsing" },
#if !HAVE_HILDON
{ "ClearPrivateData" },
{ NULL },
{ "BookmarksImport"}, { "BookmarksImport"},
{ "BookmarksExport"}, { "BookmarksExport"},
{ NULL },
{ "Fullscreen" },
{ "Panel" },
{ "-" },
#endif #endif
{ NULL },
#if !HAVE_HILDON
{ "HelpFAQ" }, { "HelpFAQ" },
#endif
{ "About" }, { "About" },
{ "Preferences" }, { "Preferences" },
#if HAVE_HILDON #if HAVE_HILDON
{ NULL },
{ "auto-load-images" }, { "auto-load-images" },
{ "enable-scripts" }, { "enable-scripts" },
{ "enable-plugins" }, { "enable-plugins" },
#endif #endif
}; };
guint i; guint i;
for (i = 0; i < G_N_ELEMENTS (actions); i++) for (i = 0; i < G_N_ELEMENTS (actions); i++)