Commit Graph

3 Commits

Author SHA1 Message Date
Philipp Hörist 2819232808 Fix AvatarChooserDialog not beeing native
Setting mimetypes forces non-native dialogs
2018-05-20 01:28:12 +02:00
Philipp Hörist 1ecf0ec008 Use NativeFileChoosers on Windows and MacOS
These platforms integrate a file preview in their native filechoosers
2018-05-06 09:17:58 +02:00
Philipp Hörist c38db84e04 Refactor FileChooserDialogs
Use GtkFileChooserDialog only when we need previews, default to
NativeFileChooser otherwise.

GtkFileChooserDialogs have a long list of issues, so lets only use it
if we gain something from it.

Flatpak should only run NativeFileChoosers because its sandboxed and
this is needed for security purposes. As a result of that, Flatpak Users
dont have image previews in the FileOpenDialogs

Refactor all FileChoosers for a more simple approach when we use them

Add a new SendFileDialog, so we dont have to put widgets into the FileChooser
which forces non-native Dialogs.
2018-05-05 09:22:08 +02:00