[gnome-control-center] user-accounts: Hide old message when enrolling



commit 1bd60f5835985790db3af7a696ce4942f18385a2
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 9 15:10:19 2011 +0100

    user-accounts: Hide old message when enrolling
    
    When you've enrolled your fingerprints and we show "Done!", hide
    the label that asked us to swipe/press our finger on the fingerprint
    reader, it's too late.

 panels/user-accounts/um-fingerprint-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/user-accounts/um-fingerprint-dialog.c b/panels/user-accounts/um-fingerprint-dialog.c
index 07ca6d8..22d4a54 100644
--- a/panels/user-accounts/um-fingerprint-dialog.c
+++ b/panels/user-accounts/um-fingerprint-dialog.c
@@ -361,6 +361,7 @@ enroll_result (GObject *object, const char *result, gboolean done, EnrollData *d
         }
         if (g_str_equal (result, "enroll-completed")) {
                 gtk_label_set_text (GTK_LABEL (WID ("status-label")), _("Done!"));
+                gtk_label_set_text (GTK_LABEL (WID("enroll-label")), "");
                 gtk_assistant_set_page_complete (GTK_ASSISTANT (data->ass), WID ("page2"), TRUE);
         }
 



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