diff options
author | Joan Torres <joan.torres@suse.com> | 2023-05-09 18:36:40 +0200 |
---|---|---|
committer | Joan Torres <joan.torres@suse.com> | 2023-05-09 19:27:54 +0200 |
commit | c57f4a1c73413fcf3f84de448b46f66e9cb186a7 (patch) | |
tree | 3ca707b523e06b88099aafb10618f31ba6420432 | |
parent | 356bab112154743e69ad3fcbcd9029dc532b262e (diff) | |
download | gnome-shell-c57f4a1c73413fcf3f84de448b46f66e9cb186a7.tar.gz |
polkitAgent: Fix closing dialog properly
When pressing the close button on the dialog the polkit request isn't
completed leaving the polkit agent blocked unable to handle new
requests.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2761>
-rw-r--r-- | js/ui/components/polkitAgent.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/js/ui/components/polkitAgent.js b/js/ui/components/polkitAgent.js index 74b89090c..1da02e5b4 100644 --- a/js/ui/components/polkitAgent.js +++ b/js/ui/components/polkitAgent.js @@ -391,7 +391,6 @@ var AuthenticationDialog = GObject.registerClass({ } cancel() { - this.close(global.get_current_time()); this._emitDone(true); } |