From 2d08e8386d8cafd855b300f045dd2a2589c3d256 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 1 Nov 2024 02:33:50 +0200 Subject: [PATCH] use section --- src/app/browser/window/header/bar/menu.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/browser/window/header/bar/menu.rs b/src/app/browser/window/header/bar/menu.rs index 7c216dd0..40d74cb9 100644 --- a/src/app/browser/window/header/bar/menu.rs +++ b/src/app/browser/window/header/bar/menu.rs @@ -35,6 +35,7 @@ impl Menu { // Main > Page let main_page = gio::Menu::new(); main_page.append(Some("New"), Some(&detailed_action_name(action_tab_append))); + main_page.append(Some("Reload"), Some(&detailed_action_name(action_tab_page_navigation_reload))); main_page.append(Some("Pin"), Some(&detailed_action_name(action_tab_pin))); // Main > Page > Navigation @@ -47,9 +48,8 @@ impl Menu { main_page_navigation_history.append(Some("Forward"), Some(&detailed_action_name(action_tab_page_navigation_history_forward))); main_page_navigation.append_submenu(Some("History"), &main_page_navigation_history); - main_page_navigation.append(Some("Reload"), Some(&detailed_action_name(action_tab_page_navigation_reload))); - main_page.append_submenu(Some("Navigation"), &main_page_navigation); + main_page.append_section(None, &main_page_navigation); // Main > Page > Close let main_page_close = gio::Menu::new();