[gnome-keyring] dbus: Clear prompt warning when prompting for new password



commit a77a12b190ccdb3004992789fbd9e18fd4417595
Author: Stef Walter <stefw gnome org>
Date:   Sat Oct 13 14:52:17 2012 +0200

    dbus: Clear prompt warning when prompting for new password
    
     * When user enters original password incorrectly, and tries again
       when prompting for the new password the warning wasn't cleared
       from the prompt.
     * Clear warning prompt correctly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=686084

 daemon/dbus/gkd-secret-change.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/dbus/gkd-secret-change.c b/daemon/dbus/gkd-secret-change.c
index ffda2d1..2c4ff1d 100644
--- a/daemon/dbus/gkd-secret-change.c
+++ b/daemon/dbus/gkd-secret-change.c
@@ -135,6 +135,7 @@ setup_password_prompt (GkdSecretChange *self,
 
 	gcr_prompt_set_password_new (prompt, TRUE);
 	gcr_prompt_set_continue_label (prompt, _("Continue"));
+	gcr_prompt_set_warning (prompt, NULL);
 }
 
 static void



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