diff options
Diffstat (limited to 'debian/patches/Do-not-force-enable-BT-on-extension-enable-only-do-sync-i.patch')
-rw-r--r-- | debian/patches/Do-not-force-enable-BT-on-extension-enable-only-do-sync-i.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/debian/patches/Do-not-force-enable-BT-on-extension-enable-only-do-sync-i.patch b/debian/patches/Do-not-force-enable-BT-on-extension-enable-only-do-sync-i.patch deleted file mode 100644 index b04f412..0000000 --- a/debian/patches/Do-not-force-enable-BT-on-extension-enable-only-do-sync-i.patch +++ /dev/null @@ -1,33 +0,0 @@ -From: Andrei Tatar <6143482+andreittr@users.noreply.github.com> -Date: Sat, 15 Jun 2019 14:12:02 +0200 -Subject: Do not force-enable BT on extension enable & only do sync if BT on - -Forwarded: https://github.com/bjarosze/gnome-bluetooth-quick-connect/pull/8 -Applied-upstream: upstream, 9, commit:9d28614c75e76805b808d4b93d77c8dc37bec066 ---- - extension.js | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/extension.js b/extension.js -index 0a9b9d2..403d956 100644 ---- a/extension.js -+++ b/extension.js -@@ -95,14 +95,15 @@ class BluetoothQuickConnect { - if (isOpen && this._autoPowerOnEnabled()) - this._proxy.BluetoothAirplaneMode = false; - }); -- -+ - this._connectSignal(this._model, 'row-changed', () => this._sync()); - this._connectSignal(this._model, 'row-deleted', () => this._sync()); - this._connectSignal(this._model, 'row-inserted', () => this._sync()); - -- this._proxy.BluetoothAirplaneMode = false; - this._idleMonitor(); -- this._sync(); -+ if (!this._proxy.BluetoothAirplaneMode) { -+ this._sync(); -+ } - } - - disable() { |