Merge branch 'run_executables' of https://github.com/francesco-gaglione/cosmic-files into francesco-gaglione-run_executables
This commit is contained in:
commit
00857511ca
1 changed files with 1 additions and 5 deletions
|
|
@ -250,7 +250,6 @@ impl MenuAction for NavMenuAction {
|
|||
pub enum Message {
|
||||
AddToSidebar(Option<Entity>),
|
||||
AppTheme(AppTheme),
|
||||
AddExecutablePermission(PathBuf),
|
||||
CloseToast(widget::ToastId),
|
||||
Compress(Option<Entity>),
|
||||
Config(Config),
|
||||
|
|
@ -1488,9 +1487,6 @@ impl Application for App {
|
|||
}
|
||||
}
|
||||
}
|
||||
Message::AddExecutablePermission(file_path) => {
|
||||
return Command::batch([self.update(Message::AddExecutablePermission(file_path))]);
|
||||
}
|
||||
Message::DialogPush(dialog_page) => {
|
||||
self.dialog_pages.push_back(dialog_page);
|
||||
}
|
||||
|
|
@ -3100,7 +3096,7 @@ impl Application for App {
|
|||
.on_press(Message::DialogComplete),
|
||||
)
|
||||
.secondary_action(
|
||||
widget::button::text("cancell")
|
||||
widget::button::text(fl!("cancel"))
|
||||
.style(theme::Button::Destructive)
|
||||
.on_press(Message::DialogCancel),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue