[gnome-shell/T27795: 7/138] polkitAgent: Do not set initial focus in the password entry
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/T27795: 7/138] polkitAgent: Do not set initial focus in the password entry
- Date: Tue, 1 Oct 2019 23:29:55 +0000 (UTC)
commit 64a8bc2cb1c85ee3ce9f3df56b7808b24837a393
Author: Joaquim Rocha <jrocha endlessm com>
Date: Wed Jul 19 14:08:20 2017 +0200
polkitAgent: Do not set initial focus in the password entry
The password entry can be hidden if the user has no password set, but
setting the initial focus to it will result in the entry responding to
the "activate" and signals.
Besides, with the logic that the dialog follows, setting the initial
focus in the entry is redundant, because it the focus is also set in
the entry upon showing it.
https://phabricator.endlessm.com/T17269
js/ui/components/polkitAgent.js | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/js/ui/components/polkitAgent.js b/js/ui/components/polkitAgent.js
index 1c1b8e610e..7b47246d40 100644
--- a/js/ui/components/polkitAgent.js
+++ b/js/ui/components/polkitAgent.js
@@ -108,7 +108,6 @@ var AuthenticationDialog = GObject.registerClass({
this._workSpinner = new Animation.Spinner(WORK_SPINNER_ICON_SIZE, true);
this._passwordBox.add(this._workSpinner.actor);
- this.setInitialKeyFocus(this._passwordEntry);
this._passwordBox.hide();
this._errorMessageLabel = new St.Label({ style_class: 'prompt-dialog-error-label' });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]