From 6adc47a8d31a22609840c14e22ac2d0233cc35c8 Mon Sep 17 00:00:00 2001 From: lashman Date: Sat, 28 Feb 2026 01:38:40 +0200 Subject: [PATCH] Slim down hamburger menu, move Preferences to bottom section Remove Scan, Check for Updates, and Browse Catalog from the hamburger menu since they are now accessible via the library scan button, Updates tab, and Catalog tab respectively. Group Preferences with Shortcuts and About at the bottom. --- src/window.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/window.rs b/src/window.rs index 6d472a5..6e5e4be 100644 --- a/src/window.rs +++ b/src/window.rs @@ -143,21 +143,18 @@ impl DriftwoodWindow { } fn setup_ui(&self) { - // Build the hamburger menu model + // Build the hamburger menu model (slim - tabs handle catalog/updates/scan) let menu = gio::Menu::new(); menu.append(Some(&i18n("Dashboard")), Some("win.dashboard")); - menu.append(Some(&i18n("Preferences")), Some("win.preferences")); let section2 = gio::Menu::new(); - section2.append(Some(&i18n("Scan for AppImages")), Some("win.scan")); - section2.append(Some(&i18n("Check for Updates")), Some("win.check-updates")); section2.append(Some(&i18n("Find Duplicates")), Some("win.find-duplicates")); section2.append(Some(&i18n("Security Report")), Some("win.security-report")); section2.append(Some(&i18n("Disk Cleanup")), Some("win.cleanup")); - section2.append(Some(&i18n("Browse Catalog")), Some("win.catalog")); menu.append_section(None, §ion2); let section3 = gio::Menu::new(); + section3.append(Some(&i18n("Preferences")), Some("win.preferences")); section3.append(Some(&i18n("Keyboard Shortcuts")), Some("win.show-shortcuts")); section3.append(Some(&i18n("About Driftwood")), Some("app.about")); menu.append_section(None, §ion3);