From 31eb87c58020e92d0c20b92a1b52047a8521e13f Mon Sep 17 00:00:00 2001 From: xSmurf Date: Sat, 23 Sep 2017 03:32:09 +0000 Subject: [PATCH] gnome-shell disabled unused connection monitor... --- gnome-shell/firewall@subgraph.com/extension.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnome-shell/firewall@subgraph.com/extension.js b/gnome-shell/firewall@subgraph.com/extension.js index 3192e60..580e23e 100644 --- a/gnome-shell/firewall@subgraph.com/extension.js +++ b/gnome-shell/firewall@subgraph.com/extension.js @@ -4,7 +4,7 @@ const Gio = imports.gi.Gio; const Extension = imports.misc.extensionUtils.getCurrentExtension(); const Dialog = Extension.imports.dialog; const Menu = Extension.imports.menu; -const ConnectionMonitor = Extension.imports.cmonitor; +//const ConnectionMonitor = Extension.imports.cmonitor; function init() { @@ -16,7 +16,7 @@ const FirewallSupport = new Lang.Class({ _init: function() { this.menu = new Menu.FirewallMenu(); - this.cmon = new ConnectionMonitor.ConnectionMonitor(); + //this.cmon = new ConnectionMonitor.ConnectionMonitor(); this.handler = null; }, @@ -29,12 +29,12 @@ const FirewallSupport = new Lang.Class({ enable: function() { this._destroyHandler(); this.handler = new FirewallPromptHandler(); - this.cmon.install(); + //this.cmon.install(); this.menu.install(); }, disable: function() { this.menu.destroy(); - this.cmon.remove(); + //this.cmon.remove(); this._destroyHandler(); } });