~jbicha/seahorse-plugins/seahorse-plugins-3.0git

« back to all changes in this revision

Viewing changes to debian/patches/90_git_dont_display_gpg_password.patch

  • Committer: Sebastien Bacher
  • Date: 2010-02-11 23:42:31 UTC
  • Revision ID: seb128@ubuntu.com-20100211234231-tgyena5ptgntoscb
Tags: 2.29.90-0ubuntu3
releasing version 2.29.90-0ubuntu3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Subject: Bug 609626 - Password prompt is showed in clear text
 
2
 
 
3
Set visibility to FALSE on GtkEntries used for passphrase fields.
 
4
---
 
5
diff --git a/libseahorse/seahorse-passphrase.c b/libseahorse/seahorse-passphrase.c
 
6
index 5d738d6..e2dcfc3 100644
 
7
--- a/libseahorse/seahorse-passphrase.c
 
8
+++ b/libseahorse/seahorse-passphrase.c
 
9
@@ -254,6 +254,7 @@ seahorse_passphrase_prompt_show (const gchar *title, const gchar *description,
 
10
 
 
11
         buffer = seahorse_secure_buffer_new ();
 
12
         entry = GTK_ENTRY (gtk_entry_new_with_buffer (buffer));
 
13
+        gtk_entry_set_visibility (entry, FALSE);
 
14
         g_object_unref (buffer);
 
15
         gtk_widget_set_size_request (GTK_WIDGET (entry), 200, -1);
 
16
         g_object_set_data (G_OBJECT (dialog), "confirm-entry", entry);
 
17
@@ -272,6 +273,7 @@ seahorse_passphrase_prompt_show (const gchar *title, const gchar *description,
 
18
     
 
19
     buffer = seahorse_secure_buffer_new ();
 
20
     entry = GTK_ENTRY (gtk_entry_new_with_buffer (buffer));
 
21
+    gtk_entry_set_visibility (entry, FALSE);    
 
22
     g_object_unref (buffer);
 
23
     gtk_widget_set_size_request (GTK_WIDGET (entry), 200, -1);
 
24
     g_object_set_data (G_OBJECT (dialog), "secure-entry", entry);
 
25