summaryrefslogtreecommitdiff
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
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
-rw-r--r--firefox.spec8
-rw-r--r--mozilla-526293.patch14
2 files changed, 21 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index 37af42c..95965f1 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -99,7 +99,7 @@ ExcludeArch: s390x
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 66.0.1
-Release: 2%{?pre_tag}%{?dist}
+Release: 3%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@@ -147,6 +147,7 @@ Patch224: mozilla-1170092.patch
#ARM run-time patch
Patch226: rhbz-1354671.patch
Patch227: firefox-locale-debug.patch
+Patch228: mozilla-526293.patch
# Upstream patches
Patch402: mozilla-1196777.patch
@@ -357,6 +358,7 @@ This package contains results of tests executed during build.
%patch226 -p1 -b .1354671
%endif
%patch227 -p1 -b .locale-debug
+%patch228 -p1 -b .mozilla-526293
%patch402 -p1 -b .1196777
%patch413 -p1 -b .1353817
@@ -932,6 +934,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Wed Mar 27 2019 Martin Stransky <stransky@redhat.com> - 66.0.1-3
+- Added fix for mozbz#526293 - show remote locations at
+ file chooser dialog
+
* Fri Mar 22 2019 Martin Stransky <stransky@redhat.com> - 66.0.1-1
- Updated to 66.0.1 (Build 1)
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