[seahorse] Change default key lengths for subkey generation.
- From: Adam Schreiber <sadam src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] Change default key lengths for subkey generation.
- Date: Sun, 21 Feb 2010 23:09:34 +0000 (UTC)
commit dd47282ec4dfc4d7319004e3ea1810d4667b881c
Author: Adam Schreiber <sadam gnome org>
Date: Sun Feb 21 18:08:57 2010 -0500
Change default key lengths for subkey generation.
pgp/seahorse-gpgme-add-subkey.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pgp/seahorse-gpgme-add-subkey.c b/pgp/seahorse-gpgme-add-subkey.c
index d8b5301..de7f090 100644
--- a/pgp/seahorse-gpgme-add-subkey.c
+++ b/pgp/seahorse-gpgme-add-subkey.c
@@ -59,14 +59,17 @@ hanlder_gpgme_add_subkey_type_changed (GtkComboBox *combo, SeahorseWidget *swidg
/* DSA */
case 0:
gtk_spin_button_set_range (length, DSA_MIN, DSA_MAX);
+ gtk_spin_button_set_value (length, DSA_MAX);
break;
/* ElGamal */
case 1:
gtk_spin_button_set_range (length, ELGAMAL_MIN, LENGTH_MAX);
+ gtk_spin_button_set_value (length, LENGTH_MAX / 2);
break;
/* RSA */
default:
gtk_spin_button_set_range (length, RSA_MIN, LENGTH_MAX);
+ gtk_spin_button_set_value (length, LENGTH_MAX / 2);
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]