diff options
author | Milan Crha <mcrha@redhat.com> | 2009-04-07 20:08:30 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2009-04-07 20:08:30 +0800 |
commit | f8d913a688c5cdff082b18cccfb847650a900ff0 (patch) | |
tree | fdae2fa5e41590f960ff495b5e4464431272bf8b | |
parent | c57708891310320ae0160e1fe04e0138c745e7a0 (diff) | |
download | gsoc2013-evolution-f8d913a688c5cdff082b18cccfb847650a900ff0.tar.gz gsoc2013-evolution-f8d913a688c5cdff082b18cccfb847650a900ff0.tar.zst gsoc2013-evolution-f8d913a688c5cdff082b18cccfb847650a900ff0.zip |
** Fix for bug #529745
2009-04-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #529745
* gui/certificate-manager.c: (import_your), (import_contact):
Add more file types in a file filter.
svn path=/trunk/; revision=37499
-rw-r--r-- | smime/ChangeLog | 7 | ||||
-rw-r--r-- | smime/gui/certificate-manager.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/smime/ChangeLog b/smime/ChangeLog index 4b0a58a82c..f9fd35914e 100644 --- a/smime/ChangeLog +++ b/smime/ChangeLog @@ -1,3 +1,10 @@ +2009-04-07 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #529745 + + * gui/certificate-manager.c: (import_your), (import_contact): + Add more file types in a file filter. + 2009-02-25 Milan Crha <mcrha@redhat.com> ** Fix for bug #572975 diff --git a/smime/gui/certificate-manager.c b/smime/gui/certificate-manager.c index 2bfeec3ed3..330fef7187 100644 --- a/smime/gui/certificate-manager.c +++ b/smime/gui/certificate-manager.c @@ -143,6 +143,7 @@ import_your (GtkWidget *widget, CertificateManagerData *cfm) filter = gtk_file_filter_new(); gtk_file_filter_set_name (filter, _("All PKCS12 files")); + gtk_file_filter_add_mime_type (filter, "application/x-x509-user-cert"); gtk_file_filter_add_mime_type (filter, "application/x-pkcs12"); gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (filesel), filter); @@ -390,6 +391,7 @@ import_contact (GtkWidget *widget, CertificateManagerData *cfm) filter = gtk_file_filter_new(); gtk_file_filter_set_name (filter, _("All email certificate files")); gtk_file_filter_add_mime_type (filter, "application/x-x509-email-cert"); + gtk_file_filter_add_mime_type (filter, "application/x-x509-ca-cert"); gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (filesel), filter); filter = gtk_file_filter_new (); |