Closed andersevenrud closed 5 years ago
The method Core#open
is what needs to check this setting, and the dialog itself can just reset the option.
Settings
application needs an interface for this, and the Choice
dialog needs a checkbox.
The FileManager
application also needs a contextmenu to bring up this dialog, which could be an option
parameter for Core#open
.
This was implemented in v2.
It was just a checkbox in the dialog that set a settings entry.
The Settings namespace
osjs/applications
could be used with the entrydefaultMimeApplication
which is just a Dictionary of{mime: packageName}
.