aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/support_ayatana_indicators.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/support_ayatana_indicators.patch')
-rw-r--r--debian/patches/support_ayatana_indicators.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/support_ayatana_indicators.patch b/debian/patches/support_ayatana_indicators.patch
new file mode 100644
index 0000000..55f0651
--- /dev/null
+++ b/debian/patches/support_ayatana_indicators.patch
@@ -0,0 +1,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