[gnome-initial-setup] password: don't set a checkmark in the first password entry
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] password: don't set a checkmark in the first password entry
- Date: Sat, 16 May 2015 20:59:12 +0000 (UTC)
commit b7f05cf285c0809563b51a0f9981c53d62c2f0bb
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Jan 30 13:51:00 2015 -0600
password: don't set a checkmark in the first password entry
Currently, when the password is bad there is no checkmark in the initial
password entry, and when the password becomes good a new checkmark is
added. This is a holdover from when the password quality check was
enforced. Remove it.
https://bugzilla.gnome.org/show_bug.cgi?id=735578
.../pages/password/gis-password-page.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gnome-initial-setup/pages/password/gis-password-page.c
b/gnome-initial-setup/pages/password/gis-password-page.c
index 891de63..58bd7c5 100644
--- a/gnome-initial-setup/pages/password/gis-password-page.c
+++ b/gnome-initial-setup/pages/password/gis-password-page.c
@@ -46,7 +46,6 @@ struct _GisPasswordPagePrivate
GtkWidget *password_explanation;
GtkWidget *confirm_explanation;
gboolean valid_confirm;
- gboolean valid_password;
guint timeout_id;
const gchar *username;
};
@@ -127,10 +126,6 @@ validate (GisPasswordPage *page)
gtk_level_bar_set_value (GTK_LEVEL_BAR (priv->password_strength), strength_level);
gtk_label_set_label (GTK_LABEL (priv->password_explanation), long_hint);
- priv->valid_password = (strength_level > 0);
- if (priv->valid_password)
- set_entry_validation_checkmark (GTK_ENTRY (priv->password_entry));
-
priv->valid_confirm = (strcmp (password, verify) == 0);
if (strlen (password) > 0 && strlen (verify) > 0) {
if (!priv->valid_confirm) {
@@ -166,7 +161,6 @@ password_changed (GtkWidget *w,
clear_entry_validation_error (GTK_ENTRY (w));
clear_entry_validation_error (GTK_ENTRY (priv->confirm_entry));
- priv->valid_password = FALSE;
update_page_validation (page);
if (priv->timeout_id != 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]