]> spindle.queued.net Git - midori/commitdiff
Organize appmenu items into more logical groups
authorDaniel Foré <daniel.p.fore@gmail.com>
Thu, 7 Apr 2011 19:17:18 +0000 (21:17 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 7 Apr 2011 19:17:18 +0000 (21:17 +0200)
Fixes: https://bugs.launchpad.net/midori/+bug/736072
midori/midori-browser.c

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