[seahorse-plugins] Bug 609626 - Password prompt is showed in clear text



commit cee2da9bd3e1e31ad15c9bc08c4221de3cc5e04e
Author: Adam Schreiber <sadam gnome org>
Date:   Thu Feb 11 08:06:30 2010 -0500

    Bug 609626 - Password prompt is showed in clear text
    
    Set visibility to FALSE on GtkEntries used for passphrase fields.

 libseahorse/seahorse-passphrase.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libseahorse/seahorse-passphrase.c b/libseahorse/seahorse-passphrase.c
index 5d738d6..e2dcfc3 100644
--- a/libseahorse/seahorse-passphrase.c
+++ b/libseahorse/seahorse-passphrase.c
@@ -254,6 +254,7 @@ seahorse_passphrase_prompt_show (const gchar *title, const gchar *description,
 
         buffer = seahorse_secure_buffer_new ();
         entry = GTK_ENTRY (gtk_entry_new_with_buffer (buffer));
+        gtk_entry_set_visibility (entry, FALSE);
         g_object_unref (buffer);
         gtk_widget_set_size_request (GTK_WIDGET (entry), 200, -1);
         g_object_set_data (G_OBJECT (dialog), "confirm-entry", entry);
@@ -272,6 +273,7 @@ seahorse_passphrase_prompt_show (const gchar *title, const gchar *description,
     
     buffer = seahorse_secure_buffer_new ();
     entry = GTK_ENTRY (gtk_entry_new_with_buffer (buffer));
+    gtk_entry_set_visibility (entry, FALSE);    
     g_object_unref (buffer);
     gtk_widget_set_size_request (GTK_WIDGET (entry), 200, -1);
     g_object_set_data (G_OBJECT (dialog), "secure-entry", entry);



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