From a4190f83ac982c8431deba36cd2334ec409815ad Mon Sep 17 00:00:00 2001 From: verdre Date: Tue, 17 Apr 2018 23:09:31 +0200 Subject: [PATCH] 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; },