Preview and gallery mode changes, part of #540
This commit is contained in:
parent
18c1301820
commit
9b8844a884
5 changed files with 12 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue