Add stubs for new file/new folder

This commit is contained in:
Jeremy Soller 2024-01-05 12:33:54 -07:00
parent ac93fc79d4
commit bb5403faf9
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
3 changed files with 17 additions and 0 deletions

View file

@ -34,6 +34,9 @@ pub fn context_menu<'a>(entity: segmented_button::Entity) -> Element<'a, Message
};
widget::container(column!(
menu_action(fl!("new-file"), Action::NewFile),
menu_action(fl!("new-folder"), Action::NewFolder),
horizontal_rule(1),
menu_action(fl!("copy"), Action::Copy),
menu_action(fl!("paste"), Action::Paste),
menu_action(fl!("select-all"), Action::SelectAll),