summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init/all.js
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-08-16 06:46:31 +0000
committerGitHub <noreply@github.com>2019-08-16 06:46:31 +0000
commitab6242a93b849b0a3c7525b16bc01dd3172fc167 (patch)
tree995d4920f51baf7ae2382b5e3741a9e439edf0f6 /modules/libpref/init/all.js
parent1e8e5563d8a7809ecf5d421b04fc8e1afa0469c4 (diff)
parentf7fced09da8e318f3c45f3cdc65674345460f918 (diff)
downloadUXP-ab6242a93b849b0a3c7525b16bc01dd3172fc167.tar
UXP-ab6242a93b849b0a3c7525b16bc01dd3172fc167.tar.gz
UXP-ab6242a93b849b0a3c7525b16bc01dd3172fc167.tar.lz
UXP-ab6242a93b849b0a3c7525b16bc01dd3172fc167.tar.xz
UXP-ab6242a93b849b0a3c7525b16bc01dd3172fc167.zip
Merge pull request #1212 from Ascrod/xdg-desktop-portal
Allow the use of Xdg desktop portal dialogs
Diffstat (limited to 'modules/libpref/init/all.js')
-rw-r--r--modules/libpref/init/all.js6
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");