aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2018-04-22 01:31:04 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2018-04-22 01:31:04 -0400
commit358afd4b33125818f84c3d62bc3a3fe5d53ec67d (patch)
treedb0d930881c0eec8a2d9cb2b52effe2a9a1bc4e1
parent94a98864d53d7e36bfa6d9ca929b7a73767e3bef (diff)
downloaddeluge-358afd4b33125818f84c3d62bc3a3fe5d53ec67d.tar.bz2
deluge-358afd4b33125818f84c3d62bc3a3fe5d53ec67d.tar.xz
deluge-358afd4b33125818f84c3d62bc3a3fe5d53ec67d.tar.zst
d/p/support_ayatana_indicators.patch: Support using the Ayatana fork of indicators.
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/support_ayatana_indicators.patch20
-rw-r--r--debian/patches/ubuntu.series1
3 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series
index 1919465..72c0556 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ new_release_check.patch
fix_pref_show.patch
support_announce_to_all_trackers.patch
increase_rsa_key_size.patch
+support_ayatana_indicators.patch
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
diff --git a/debian/patches/ubuntu.series b/debian/patches/ubuntu.series
index 7eb1af7..003eb64 100644
--- a/debian/patches/ubuntu.series
+++ b/debian/patches/ubuntu.series
@@ -3,3 +3,4 @@ fix_pref_show.patch
ubuntu_indicator.patch
support_announce_to_all_trackers.patch
increase_rsa_key_size.patch
+support_ayatana_indicators.patch