diff options
author | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2019-08-15 06:03:42 -0400 |
---|---|---|
committer | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2019-08-15 18:22:56 -0400 |
commit | f7fced09da8e318f3c45f3cdc65674345460f918 (patch) | |
tree | db0604e235a1b0bc8812b30f448da890780fa562 /modules/libpref/init/all.js | |
parent | 47c48dfcb87a574f6b96f3abf3ed14b9b08b2371 (diff) | |
download | UXP-f7fced09da8e318f3c45f3cdc65674345460f918.tar UXP-f7fced09da8e318f3c45f3cdc65674345460f918.tar.gz UXP-f7fced09da8e318f3c45f3cdc65674345460f918.tar.lz UXP-f7fced09da8e318f3c45f3cdc65674345460f918.tar.xz UXP-f7fced09da8e318f3c45f3cdc65674345460f918.zip |
Issue #999 - Disable native file picker by default.
Diffstat (limited to 'modules/libpref/init/all.js')
-rw-r--r-- | modules/libpref/init/all.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index cd4284a9e..e69a985ce 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4012,6 +4012,12 @@ pref("autocomplete.ungrab_during_mode_switch", true); // toggling to use the XUL filepicker pref("ui.allow_platform_file_picker", true); +// Allow for using the native GTK file picker. If the application is not run +// with GTK_USE_PORTAL=1 this pref has no effect. +#ifdef MOZ_WIDGET_GTK +pref("widget.allow-gtk-native-file-chooser", false); +#endif + pref("helpers.global_mime_types_file", "/etc/mime.types"); pref("helpers.global_mailcap_file", "/etc/mailcap"); pref("helpers.private_mime_types_file", "~/.mime.types"); |