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>
This commit is contained in:
parent
356bab1121
commit
c57f4a1c73
@ -391,7 +391,6 @@ var AuthenticationDialog = GObject.registerClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
cancel() {
|
cancel() {
|
||||||
this.close(global.get_current_time());
|
|
||||||
this._emitDone(true);
|
this._emitDone(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user