[Xfce4-commits] <midori:master> Move 'Menubar' menuitem down and make it 'Navigationbar'

Christian Dywan noreply at xfce.org
Thu Feb 24 21:28:02 CET 2011


Updating branch refs/heads/master
         to ac7ce0f7923f37c89f8f30641a747c9124377685 (commit)
       from 3ec44384f3229a79f6075ab9b14b2a20e49512c1 (commit)

commit ac7ce0f7923f37c89f8f30641a747c9124377685
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Feb 24 21:23:23 2011 +0100

    Move 'Menubar' menuitem down and make it 'Navigationbar'
    
    The menu item that appears in the context menu if all toolbars
    are hidden is easy to miss, so moving it to the bottom makes it
    more visible. It should also show the Navigationbar.

 midori/midori-view.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 7b5f081..e928f4a 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -2642,13 +2642,6 @@ midori_view_populate_popup (MidoriView* view,
         } */
         #endif
 
-        if (!g_object_get_data (G_OBJECT (browser), "midori-toolbars-visible"))
-        {
-            menuitem = sokoke_action_create_popup_menu_item (
-                gtk_action_group_get_action (actions, "Menubar"));
-            gtk_menu_shell_append (menu_shell, menuitem);
-        }
-
         #if !HAVE_HILDON
         menuitem = sokoke_action_create_popup_menu_item (
                 gtk_action_group_get_action (actions, "ZoomIn"));
@@ -2725,6 +2718,13 @@ midori_view_populate_popup (MidoriView* view,
         menuitem = sokoke_action_create_popup_menu_item (
                 gtk_action_group_get_action (actions, "SourceView"));
         gtk_menu_shell_append (menu_shell, menuitem);
+
+        if (!g_object_get_data (G_OBJECT (browser), "midori-toolbars-visible"))
+        {
+            menuitem = sokoke_action_create_popup_menu_item (
+                gtk_action_group_get_action (actions, "Navigationbar"));
+            gtk_menu_shell_append (menu_shell, menuitem);
+        }
     }
 
     #if WEBKIT_CHECK_VERSION (1, 1, 17)



More information about the Xfce4-commits mailing list