Allow preemptive answer for 3 secs before locking text entry
Resolves: https://issues.redhat.com/browse/RHEL-15970
This commit is contained in:
parent
cb9de78457
commit
5afaa476bf
@ -848,7 +848,7 @@ index 7faec91bdc..292621bde3 100644
|
||||
+
|
||||
if (this._preemptiveAnswerWatchId)
|
||||
this._idleMonitor.remove_watch(this._preemptiveAnswerWatchId);
|
||||
this._preemptiveAnswerWatchId = this._idleMonitor.add_idle_watch(500,
|
||||
this._preemptiveAnswerWatchId = this._idleMonitor.add_idle_watch(3000,
|
||||
@@ -732,29 +743,35 @@ export const AuthPrompt = GObject.registerClass({
|
||||
this._updateEntry(true);
|
||||
this.stopSpinning();
|
||||
@ -4284,7 +4284,7 @@ index 5341f2b980..57b0ed3aeb 100644
|
||||
}
|
||||
|
||||
@@ -799,8 +777,10 @@ export const AuthPrompt = GObject.registerClass({
|
||||
this._preemptiveAnswerWatchId = this._idleMonitor.add_idle_watch(500,
|
||||
this._preemptiveAnswerWatchId = this._idleMonitor.add_idle_watch(3000,
|
||||
this._onUserStoppedTypePreemptiveAnswer.bind(this));
|
||||
|
||||
- if (this._userVerifier)
|
||||
|
||||
@ -159,7 +159,7 @@ index 97b276dbf9..2bf722b140 100644
|
||||
|
||||
+ if (this._preemptiveAnswerWatchId)
|
||||
+ this._idleMonitor.remove_watch(this._preemptiveAnswerWatchId);
|
||||
+ this._preemptiveAnswerWatchId = this._idleMonitor.add_idle_watch(500,
|
||||
+ this._preemptiveAnswerWatchId = this._idleMonitor.add_idle_watch(3000,
|
||||
+ this._onUserStoppedTypePreemptiveAnswer.bind(this));
|
||||
+
|
||||
if (this._userVerifier)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user