[gnome-initial-setup/shell/4765: 172/362] account: show password when the checkbutton is toggled
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/shell/4765: 172/362] account: show password when the checkbutton is toggled
- Date: Thu, 19 Mar 2015 01:35:32 +0000 (UTC)
commit dae3711a6e0354a7cbe5d4882af053ee1d7c6b3a
Author: Cosimo Cecchi <cosimo endlessm com>
Date: Mon Aug 25 12:04:26 2014 -0700
account: show password when the checkbutton is toggled
The condition check was flipped.
[endlessm/eos-shell#3325]
.../pages/account/gis-account-page.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-initial-setup/pages/account/gis-account-page.c
b/gnome-initial-setup/pages/account/gis-account-page.c
index 41db6bc..4d54c37 100644
--- a/gnome-initial-setup/pages/account/gis-account-page.c
+++ b/gnome-initial-setup/pages/account/gis-account-page.c
@@ -1121,8 +1121,8 @@ password_visibility_toggled (GtkToggleButton *button,
GtkWidget *confirm_entry = WID("account-confirm-entry");
gboolean is_active = gtk_toggle_button_get_active (button);
- gtk_entry_set_visibility (GTK_ENTRY (password_entry), !is_active);
- gtk_entry_set_visibility (GTK_ENTRY (confirm_entry), !is_active);
+ gtk_entry_set_visibility (GTK_ENTRY (password_entry), is_active);
+ gtk_entry_set_visibility (GTK_ENTRY (confirm_entry), is_active);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]