[gnome-shell/gnome-3-16] authPrompt: allow cancellation before verification starts
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-16] authPrompt: allow cancellation before verification starts
- Date: Fri, 24 Jul 2015 13:46:44 +0000 (UTC)
commit 4ea72130e0dbc3c9f2e0708f0f690d531bc2cdbc
Author: Ray Strode <rstrode redhat com>
Date: Thu Jul 23 13:17:54 2015 -0400
authPrompt: allow cancellation before verification starts
The user should be allowed to cancel if verification hasn't
started yet and they're typing in their username. This
commit changes the authPrompt cancel function to not
ignore such requests.
https://bugzilla.gnome.org/show_bug.cgi?id=752739
js/gdm/authPrompt.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
index 6e5c79f..b57b00b 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -501,7 +501,7 @@ const AuthPrompt = new Lang.Class({
},
cancel: function() {
- if (this.verificationStatus == AuthPromptStatus.NOT_VERIFYING || this.verificationStatus ==
AuthPromptStatus.VERIFICATION_SUCCEEDED) {
+ if (this.verificationStatus == AuthPromptStatus.VERIFICATION_SUCCEEDED) {
return;
}
this.reset();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]