[gnome-shell/wip/wayland-gdm-cleanup: 5/19] gdm: Remove _cancelAndReset
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/wayland-gdm-cleanup: 5/19] gdm: Remove _cancelAndReset
- Date: Sat, 8 Mar 2014 00:25:41 +0000 (UTC)
commit 5b4337f71609b66c6b6e831f8f478b585f2cf961
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Mar 7 15:48:39 2014 -0500
gdm: Remove _cancelAndReset
Calling Cancel(); on the UserVerifier will make us get a reset
signal eventually, so simply wait for the natural flow.
js/gdm/util.js | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 78dae28..0a307f4 100644
--- a/js/gdm/util.js
+++ b/js/gdm/util.js
@@ -487,11 +487,6 @@ const ShellUserVerifier = new Lang.Class({
this.emit('verification-complete');
},
- _cancelAndReset: function() {
- this.cancel();
- this._onReset();
- },
-
_retry: function() {
this.begin(this._userName, new Batch.Hold());
},
@@ -518,12 +513,12 @@ const ShellUserVerifier = new Lang.Class({
}
} else {
if (!this.hasPendingMessages) {
- this._cancelAndReset();
+ this.cancel();
} else {
let signalId = this.connect('no-more-messages',
Lang.bind(this, function() {
this.disconnect(signalId);
- this._cancelAndReset();
+ this.cancel();
}));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]