[accounts-dialog] Add another tooltip



commit e6b79a91ba62b957b355453635374f01852fed1c
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 1 19:56:18 2010 -0500

    Add another tooltip

 src/um-password-dialog.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/um-password-dialog.c b/src/um-password-dialog.c
index 5cfb152..671ed9e 100644
--- a/src/um-password-dialog.c
+++ b/src/um-password-dialog.c
@@ -378,7 +378,12 @@ update_sensitivity (UmPasswordDialog *um)
         }
         else if (strcmp (password, verify) != 0) {
                 can_change = FALSE;
-                tooltip = _("The passwords do not match");
+                if (verify[0] == '\0') {
+                        tooltip = _("You need to confirm the password");
+                }
+                else {
+                        tooltip = _("The passwords do not match");
+                }
         }
         else if (!um->old_password_ok) {
                 can_change = FALSE;



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