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.
This commit is contained in:
parent
3ec44384f3
commit
ac7ce0f792
1 changed files with 7 additions and 7 deletions
|
@ -2642,13 +2642,6 @@ midori_view_populate_popup (MidoriView* view,
|
||||||
} */
|
} */
|
||||||
#endif
|
#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
|
#if !HAVE_HILDON
|
||||||
menuitem = sokoke_action_create_popup_menu_item (
|
menuitem = sokoke_action_create_popup_menu_item (
|
||||||
gtk_action_group_get_action (actions, "ZoomIn"));
|
gtk_action_group_get_action (actions, "ZoomIn"));
|
||||||
|
@ -2725,6 +2718,13 @@ midori_view_populate_popup (MidoriView* view,
|
||||||
menuitem = sokoke_action_create_popup_menu_item (
|
menuitem = sokoke_action_create_popup_menu_item (
|
||||||
gtk_action_group_get_action (actions, "SourceView"));
|
gtk_action_group_get_action (actions, "SourceView"));
|
||||||
gtk_menu_shell_append (menu_shell, menuitem);
|
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)
|
#if WEBKIT_CHECK_VERSION (1, 1, 17)
|
||||||
|
|
Loading…
Reference in a new issue