Preview and gallery mode changes, part of #540

This commit is contained in:
Jeremy Soller 2024-10-02 13:23:41 -06:00
parent 18c1301820
commit 9b8844a884
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
5 changed files with 12 additions and 4 deletions

View file

@ -412,8 +412,6 @@ pub fn menu_bar<'a>(
menu::Item::Divider,
menu_button_optional(fl!("rename"), Action::Rename, selected > 0),
menu::Item::Divider,
menu_button_optional(fl!("menu-show-details"), Action::Preview, selected > 0),
menu::Item::Divider,
menu_button_optional(fl!("add-to-sidebar"), Action::AddToSidebar, selected > 0),
menu::Item::Divider,
menu_button_optional(fl!("move-to-trash"), Action::MoveToTrash, selected > 0),
@ -467,6 +465,9 @@ pub fn menu_bar<'a>(
tab_opt.map_or(false, |tab| tab.config.folders_first),
Action::ToggleFoldersFirst,
),
menu_button_optional(fl!("show-details"), Action::Preview, selected > 0),
menu::Item::Divider,
menu_button_optional(fl!("gallery-preview"), Action::Gallery, selected > 0),
menu::Item::Divider,
menu::Item::Button(fl!("menu-settings"), Action::Settings),
menu::Item::Divider,