[gnome-shell] loginDialog: Correct source name for timed login idle timeout
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] loginDialog: Correct source name for timed login idle timeout
- Date: Thu, 19 Apr 2018 17:24:20 +0000 (UTC)
commit a4190f83ac982c8431deba36cd2334ec409815ad
Author: verdre <gitlab v0yd nl>
Date: Tue Apr 17 23:09:31 2018 +0200
loginDialog: Correct source name for timed login idle timeout
The _blockTimedLoginUntilIdle method sets a timeout to be called after
the user is idle for 5 seconds. That timeout is erroneously given the
source name "[gnome-shell] this._timedLoginAnimationTime" which looks
like a copy-and-paste mistake. The original intention was probably to
use a source name of "[gnome-shell] this._timedLoginIdleTimeOutId" which
more closely matches existing convention for source names.
This commit fixes that.
js/gdm/loginDialog.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 89178b8ee..052a1d814 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -999,7 +999,7 @@ var LoginDialog = new Lang.Class({
hold.release();
return GLib.SOURCE_REMOVE;
});
- GLib.Source.set_name_by_id(this._timedLoginIdleTimeOutId, '[gnome-shell]
this._timedLoginAnimationTime');
+ GLib.Source.set_name_by_id(this._timedLoginIdleTimeOutId, '[gnome-shell]
this._timedLoginIdleTimeOutId');
return hold;
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]