26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
diff --git a/js/ui/polkitAuthenticationAgent.js b/js/ui/polkitAuthenticationAgent.js
|
|
index 97bad507c..5c6e41f70 100644
|
|
--- a/js/ui/polkitAuthenticationAgent.js
|
|
+++ b/js/ui/polkitAuthenticationAgent.js
|
|
@@ -494,14 +494,14 @@ var AuthenticationDialog = GObject.registerClass({
|
|
var AuthenticationAgent = class {
|
|
constructor() {
|
|
this._native = new Cinnamon.PolkitAuthenticationAgent();
|
|
- this._native.connect('initiate', this._onInitiate.bind(this));
|
|
- this._native.connect('cancel', this._onCancel.bind(this));
|
|
+ //this._native.connect('initiate', this._onInitiate.bind(this));
|
|
+ //this._native.connect('cancel', this._onCancel.bind(this));
|
|
// TODO - maybe register probably should wait until later, especially at first login?
|
|
- try {
|
|
- this._native.register();
|
|
- } catch(e) {
|
|
- global.logWarning('Failed to register Polkit Agent');
|
|
- }
|
|
+ //try {
|
|
+ //this._native.register();
|
|
+ //} catch(e) {
|
|
+ // global.logWarning('Failed to register Polkit Agent');
|
|
+ //}
|
|
this._currentDialog = null;
|
|
}
|