summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deluge/ui/gtkui/systemtray.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/deluge/ui/gtkui/systemtray.py b/deluge/ui/gtkui/systemtray.py
index 54113c9..43318f1 100644
--- a/deluge/ui/gtkui/systemtray.py
+++ b/deluge/ui/gtkui/systemtray.py
@@ -109,6 +109,11 @@ class SystemTray(component.Component):
log.debug("Enabling the Application Indicator..")
self.indicator = appindicator.Indicator (
"deluge", "deluge", appindicator.CATEGORY_APPLICATION_STATUS)
+ try:
+ self.indicator.set_property ("title", _("Deluge"))
+ except TypeError:
+ # Catch 'title' property error for previous appindicator versions
+ pass
# Pass the menu to the Application Indicator
self.indicator.set_menu(self.tray_menu)