[network-manager-applet] wifi: show certificate files with the *.key extension



commit 3c9199b0bf75b62819bd392ba8fda5ccf796357e
Author: Mathieu Trudel-Lapierre <mathieu-tl ubuntu com>
Date:   Tue Mar 5 13:36:32 2013 -0500

    wifi: show certificate files with the *.key extension

 src/wireless-security/eap-method.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/wireless-security/eap-method.c b/src/wireless-security/eap-method.c
index a3fd832..cdc525d 100644
--- a/src/wireless-security/eap-method.c
+++ b/src/wireless-security/eap-method.c
@@ -600,7 +600,7 @@ out:
 static gboolean
 default_filter_privkey (const GtkFileFilterInfo *filter_info, gpointer user_data)
 {
-       const char *extensions[] = { ".der", ".pem", ".p12", NULL };
+       const char *extensions[] = { ".der", ".pem", ".p12", ".key", NULL };
        gboolean require_encrypted = !!user_data;
        gboolean is_encrypted = TRUE;
 
@@ -642,7 +642,7 @@ eap_method_default_file_chooser_filter_new (gboolean privkey)
        filter = gtk_file_filter_new ();
        if (privkey) {
                gtk_file_filter_add_custom (filter, GTK_FILE_FILTER_FILENAME, default_filter_privkey, NULL, 
NULL);
-               gtk_file_filter_set_name (filter, _("DER, PEM, or PKCS#12 private keys (*.der, *.pem, 
*.p12)"));
+               gtk_file_filter_set_name (filter, _("DER, PEM, or PKCS#12 private keys (*.der, *.pem, *.p12, 
*.key)"));
        } else {
                gtk_file_filter_add_custom (filter, GTK_FILE_FILTER_FILENAME, default_filter_cert, NULL, 
NULL);
                gtk_file_filter_set_name (filter, _("DER or PEM certificates (*.der, *.pem, *.crt, *.cer)"));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]