summaryrefslogtreecommitdiff
path: root/mozilla-526293.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-03-27 10:39:04 +0100
committerMartin Stransky <stransky@redhat.com>2019-03-27 10:39:04 +0100
commit739f4c25cc1575dfa432b0f9922ce22e5261d45c (patch)
tree55d421379ef15a2118e05677077e9372563ea8e9 /mozilla-526293.patch
parentRelease up (diff)
downloadlibrewolf-fedora-ff-739f4c25cc1575dfa432b0f9922ce22e5261d45c.tar.gz
librewolf-fedora-ff-739f4c25cc1575dfa432b0f9922ce22e5261d45c.tar.bz2
librewolf-fedora-ff-739f4c25cc1575dfa432b0f9922ce22e5261d45c.zip
Added fix for mozbz#526293 - show remote locations at file chooser dialog
Diffstat (limited to 'mozilla-526293.patch')
-rw-r--r--mozilla-526293.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/mozilla-526293.patch b/mozilla-526293.patch
new file mode 100644
index 0000000..a03796a
--- /dev/null
+++ b/mozilla-526293.patch
@@ -0,0 +1,14 @@
+diff -up firefox-60.6.0/widget/gtk/nsFilePicker.cpp.old firefox-60.6.0/widget/gtk/nsFilePicker.cpp
+--- firefox-60.6.0/widget/gtk/nsFilePicker.cpp.old 2019-03-27 10:29:47.918560620 +0100
++++ firefox-60.6.0/widget/gtk/nsFilePicker.cpp 2019-03-27 10:30:08.384491717 +0100
+@@ -366,9 +366,7 @@ nsFilePicker::Open(nsIFilePickerShownCal
+ // If we have --enable-proxy-bypass-protection, then don't allow
+ // remote URLs to be used.
+ #ifndef MOZ_PROXY_BYPASS_PROTECTION
+- if (mAllowURLs) {
+- gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(file_chooser), FALSE);
+- }
++ gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(file_chooser), FALSE);
+ #endif
+
+ if (action == GTK_FILE_CHOOSER_ACTION_OPEN ||
bgstack15