loginDialog: Realign list of batch tasks
The way the batch tasks are currently aligned doesn't jive with with eslint likes. This commit moves it over a bit. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1809>
This commit is contained in:
parent
b93bf2bd69
commit
1410db2470
@ -1048,7 +1048,8 @@ var LoginDialog = GObject.registerClass({
|
|||||||
let loginItem = null;
|
let loginItem = null;
|
||||||
let animationTime;
|
let animationTime;
|
||||||
|
|
||||||
let tasks = [() => this._waitForItemForUser(userName),
|
let tasks = [
|
||||||
|
() => this._waitForItemForUser(userName),
|
||||||
|
|
||||||
() => {
|
() => {
|
||||||
loginItem = this._userList.getItemFromUserName(userName);
|
loginItem = this._userList.getItemFromUserName(userName);
|
||||||
@ -1095,7 +1096,8 @@ var LoginDialog = GObject.registerClass({
|
|||||||
() => {
|
() => {
|
||||||
this._timedLoginBatch = null;
|
this._timedLoginBatch = null;
|
||||||
this._greeter.call_begin_auto_login_sync(userName, null);
|
this._greeter.call_begin_auto_login_sync(userName, null);
|
||||||
}];
|
},
|
||||||
|
];
|
||||||
|
|
||||||
this._timedLoginBatch = new Batch.ConsecutiveBatch(this, tasks);
|
this._timedLoginBatch = new Batch.ConsecutiveBatch(this, tasks);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user