fix file filter

This commit is contained in:
Than Ngo 2012-11-29 15:54:46 +01:00
parent 9d5428cf35
commit 61d8d48a57
2 changed files with 20 additions and 1 deletions

View File

@ -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;

View File

@ -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@redhat.com> - 6:4.9.3-6
- fix file filter
* Thu Nov 29 2012 Lukáš Tinkl <ltinkl@redhat.com> 6:4.9.3-5
- update udisks2 backend patch