From c57f4a1c73413fcf3f84de448b46f66e9cb186a7 Mon Sep 17 00:00:00 2001 From: Joan Torres Date: Tue, 9 May 2023 18:36:40 +0200 Subject: 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: --- 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 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); } -- cgit v1.2.1