aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/support_ayatana_indicators.patch
blob: 55f0651ee5f255fe6face30a1bf48108172b8cd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Support using the Ayatana fork of indicators.
Author: Unit 193 <unit193@ubuntu.com>

Forwarded: no
Last-Update: 2018-04-22

--- deluge-1.3.15.orig/deluge/ui/gtkui/systemtray.py
+++ deluge-1.3.15/deluge/ui/gtkui/systemtray.py
@@ -36,7 +36,10 @@
 try:
     import appindicator
 except ImportError:
-    appindicator = None
+    try:
+        import ayatana_appindicator as appindicator
+    except ImportError:
+        appindicator = None
 
 import gtk
 import pkg_resources