Implement setting permissions, fixes #325
This commit is contained in:
parent
2c8060f93b
commit
051001b9ea
6 changed files with 186 additions and 81 deletions
|
|
@ -3546,6 +3546,9 @@ impl Application for App {
|
|||
//TODO: this will block for a few ms, run in background?
|
||||
self.mime_app_cache.set_default(mime, id);
|
||||
}
|
||||
tab::Command::SetPermissions(path, mode) => {
|
||||
commands.push(self.operation(Operation::SetPermissions { path, mode }));
|
||||
}
|
||||
tab::Command::WindowDrag => {
|
||||
if let Some(window_id) = &self.window_id_opt {
|
||||
commands.push(window::drag(*window_id));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue