summaryrefslogtreecommitdiff
path: root/debian/patches/fix-gnome-version-check.patch
blob: 124b729fbcfdb5e69f2510f3bfabd5ded2f1b7a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Bartosz Jaroszewski <b.jarosze@gmail.com>
Date: Sun, 7 Jun 2020 15:41:25 +0200
Subject: fix gnome version check

---
 ui.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui.js b/ui.js
index b2dc363..5b703fa 100644
--- a/ui.js
+++ b/ui.js
@@ -167,7 +167,7 @@ var PopupBluetoothDeviceMenuItem = GObject.registerClass(
         }
 
         _isOldGnome() {
-            return Config.PACKAGE_VERSION.match(/3\.3[24]/);
+            return Config.PACKAGE_VERSION.startsWith('3.34');
         }
     }
 );