[kdelibs] fix file filter

Than Ngo than at fedoraproject.org
Thu Nov 29 14:54:54 UTC 2012


commit 61d8d48a575e3f08891f7868aca59a31488dafd7
Author: Than Ngo <than at redhat.com>
Date:   Thu Nov 29 15:54:46 2012 +0100

    fix file filter

 kdelibs-4.9.3-kcm_ssl.patch |   12 ++++++++++++
 kdelibs.spec                |    9 ++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/kdelibs-4.9.3-kcm_ssl.patch b/kdelibs-4.9.3-kcm_ssl.patch
new file mode 100644
index 0000000..b0d3f44
--- /dev/null
+++ b/kdelibs-4.9.3-kcm_ssl.patch
@@ -0,0 +1,12 @@
+diff -up kdelibs-4.9.3/kio/kssl/kcm/cacertificatespage.cpp.orig kdelibs-4.9.3/kio/kssl/kcm/cacertificatespage.cpp
+--- kdelibs-4.9.3/kio/kssl/kcm/cacertificatespage.cpp.orig	2012-11-29 15:37:07.458858688 +0100
++++ kdelibs-4.9.3/kio/kssl/kcm/cacertificatespage.cpp	2012-11-29 13:52:05.243926802 +0100
+@@ -291,7 +291,7 @@ void CaCertificatesPage::removeSelection
+ void CaCertificatesPage::addCertificateClicked()
+ {
+     QStringList certFiles
+-      = KFileDialog::getOpenFileNames(KUrl(), QLatin1String("application/x-x509-ca-cert"),
++      = KFileDialog::getOpenFileNames(KUrl(), QLatin1String("*.pem *.cert *.crt *.der"),
+                                       this, i18n("Pick Certificates"));
+ 
+     QList<QSslCertificate> certs;
diff --git a/kdelibs.spec b/kdelibs.spec
index 7abfbc5..7b0566c 100644
--- a/kdelibs.spec
+++ b/kdelibs.spec
@@ -25,7 +25,7 @@
 
 Summary: KDE Libraries
 Version: 4.9.3
-Release: 5%{?dist}
+Release: 6%{?dist}
 
 Name: kdelibs
 Epoch: 6
@@ -155,6 +155,9 @@ Patch56: kdelibs-4.9.1-FindKipi-libkipi2.patch
 # required or not -- rex
 Patch58: kdelibs-cmake_python3.patch
 
+# make filter working
+Patch59: kdelibs-4.9.3-kcm_ssl.path
+
 ## upstream
 Patch100: kdelibs-4.9.3-delete-downloadDialog.patch
 
@@ -327,6 +330,7 @@ sed -i -e "s|@@VERSION_RELEASE@@|%{version}-%{release}|" kio/kio/kprotocolmanage
 %patch55 -p1 -b .FindSamba-samba4
 %patch56 -p1 -b .FindKipi-libkipi2
 %patch58 -p1 -b .cmake_python3
+%patch59 -p1 -b .filter
 
 # upstream patches
 %patch100 -p1 -b .delete-downloadDialog
@@ -588,6 +592,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Nov 29 2012 Than Ngo <than at redhat.com> - 6:4.9.3-6
+- fix file filter
+
 * Thu Nov 29 2012 Lukáš Tinkl <ltinkl at redhat.com> 6:4.9.3-5
 - update udisks2 backend patch
 


More information about the scm-commits mailing list