From 334985cf3b4b7fef4118276bb578c4d91dbddb1c Mon Sep 17 00:00:00 2001
From: David Bartley <andareed@gmail.com>
Date: Sun, 15 Apr 2012 12:46:35 -0700
Subject: [PATCH] Remove workaround for LP #608219 now that it's fixed.
---
deluge/ui/gtkui/systemtray.py | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/deluge/ui/gtkui/systemtray.py b/deluge/ui/gtkui/systemtray.py
index 3aaf3fc..948b70a 100644
a
|
b
|
def __start(self):
|
157 | 157 | self.builder.get_object("menuitem_quitdaemon").hide() |
158 | 158 | self.builder.get_object("separatormenuitem4").hide() |
159 | 159 | |
160 | | # These do not work with appindicator currently and can crash Deluge. |
161 | | # Related to Launchpad bug #608219 |
162 | | if appindicator and self.config["enable_appindicator"]: |
163 | | self.hide_widget_list.remove("menuitem_download_limit") |
164 | | self.hide_widget_list.remove("menuitem_upload_limit") |
165 | | self.hide_widget_list.remove("separatormenuitem3") |
166 | | self.builder.get_object("menuitem_download_limit").hide() |
167 | | self.builder.get_object("menuitem_upload_limit").hide() |
168 | | self.builder.get_object("separatormenuitem3").hide() |
169 | | |
170 | 160 | # Show widgets in the hide list because we've connected to a host |
171 | 161 | for widget in self.hide_widget_list: |
172 | 162 | self.builder.get_object(widget).show() |
… |
… |
def build_tray_bwsetsubmenu(self):
|
281 | 271 | submenu_bwdownset.show_all() |
282 | 272 | submenu_bwupset.show_all() |
283 | 273 | |
284 | | # Re-set the menu to partly work around Launchpad bug #608219 |
285 | | if appindicator and self.config["enable_appindicator"]: |
286 | | self.indicator.set_menu(self.tray_menu) |
287 | | |
288 | 274 | def disable(self,invert_app_ind_conf=False): |
289 | 275 | """Disables the system tray icon or appindicator.""" |
290 | 276 | try: |