From b157487e2d8ccd740dc116e6136d809f25ad31b9 Mon Sep 17 00:00:00 2001 From: Thomas Lange <thomas-lange2@gmx.de> Date: Mon, 6 Jan 2025 00:35:15 +0000 Subject: [PATCH] Change order of menubar item in view menu List it before the statusbar item to reflect the actual position in Thunar. --- thunar/thunar-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c index 9227b8bfb..7bdd38efa 100644 --- a/thunar/thunar-window.c +++ b/thunar/thunar-window.c @@ -1622,10 +1622,10 @@ thunar_window_update_view_menu (ThunarWindow *window, xfce_gtk_toggle_menu_item_new_from_action_entry (get_action_entry (THUNAR_WINDOW_ACTION_TOGGLE_IMAGE_PREVIEW), G_OBJECT (window), image_preview_visible, GTK_MENU_SHELL (sub_items)); gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), GTK_WIDGET (sub_items)); - xfce_gtk_toggle_menu_item_new_from_action_entry (get_action_entry (THUNAR_WINDOW_ACTION_VIEW_STATUSBAR), G_OBJECT (window), - gtk_widget_get_visible (window->statusbar), GTK_MENU_SHELL (menu)); xfce_gtk_toggle_menu_item_new_from_action_entry (get_action_entry (THUNAR_WINDOW_ACTION_VIEW_MENUBAR), G_OBJECT (window), window->menubar_visible, GTK_MENU_SHELL (menu)); + xfce_gtk_toggle_menu_item_new_from_action_entry (get_action_entry (THUNAR_WINDOW_ACTION_VIEW_STATUSBAR), G_OBJECT (window), + gtk_widget_get_visible (window->statusbar), GTK_MENU_SHELL (menu)); xfce_gtk_menu_item_new_from_action_entry (get_action_entry (THUNAR_WINDOW_ACTION_CONFIGURE_TOOLBAR), G_OBJECT (window), GTK_MENU_SHELL (menu)); xfce_gtk_menu_append_separator (GTK_MENU_SHELL (menu)); if (window->directory_specific_settings) -- GitLab