From ca3252566337fda77896b4b730c97edb649b1eac Mon Sep 17 00:00:00 2001
From: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
Date: Thu, 15 Sep 2011 21:37:15 -0400
Subject: [PATCH] Add vendor specific patch enabling indicator support by default on Ubuntu (LP: #843805).

---
 debian/changelog                       |    7 +++++++
 debian/patches/indicator_default.patch |   16 ++++++++++++++++
 debian/patches/ubuntu.series           |    2 ++
 3 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/indicator_default.patch
 create mode 100644 debian/patches/ubuntu.series

diff --git a/debian/changelog b/debian/changelog
index 6c7c339..ee9d47f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+deluge (1.3.3-2) UNRELEASED; urgency=low
+
+  * Add vendor specific patch enabling indicator
+    support by default on Ubuntu (LP: #843805).
+
+ -- Andrew Starr-Bochicchio <a.starr.b@gmail.com>  Thu, 15 Sep 2011 21:34:06 -0400
+
 deluge (1.3.3-1) unstable; urgency=low
 
   * New upstream version.
diff --git a/debian/patches/indicator_default.patch b/debian/patches/indicator_default.patch
new file mode 100644
index 0000000..d4a0604
--- /dev/null
+++ b/debian/patches/indicator_default.patch
@@ -0,0 +1,16 @@
+Description: Enable indicator support by default on Ubuntu.
+Origin/Author: Andrew Starr-Bochicchio
+Ubuntu-Bug: https://bugs.launchpad.net/bugs/843805
+Index: deluge-1.3.3/deluge/ui/gtkui/gtkui.py
+===================================================================
+--- deluge-1.3.3.orig/deluge/ui/gtkui/gtkui.py	2011-07-28 00:10:12.735687098 +0100
++++ deluge-1.3.3/deluge/ui/gtkui/gtkui.py	2011-07-28 00:10:08.115682148 +0100
+@@ -115,7 +115,7 @@
+     "enable_system_tray": True,
+     "close_to_tray": False,
+     "start_in_tray": False,
+-    "enable_appindicator": False,
++    "enable_appindicator": True,
+     "lock_tray": False,
+     "tray_password": "",
+     "check_new_releases": False,
diff --git a/debian/patches/ubuntu.series b/debian/patches/ubuntu.series
new file mode 100644
index 0000000..615d12e
--- /dev/null
+++ b/debian/patches/ubuntu.series
@@ -0,0 +1,2 @@
+new_release_check.patch
+indicator_default.patch
-- 
1.7.4.1

