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.
This commit is contained in:
parent
a8e17f73ec
commit
a4190f83ac
@ -999,7 +999,7 @@ var LoginDialog = new Lang.Class({
|
|||||||
hold.release();
|
hold.release();
|
||||||
return GLib.SOURCE_REMOVE;
|
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;
|
return hold;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user