From 1e4189194334f9fc3c07a49de7d4853640454946 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 4 Nov 2016 18:07:59 +0000 Subject: [PATCH] [Oops] Bugfix for previous commit: e37c817 --- deluge/ui/gtkui/preferences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py index 2969c7149..5c348a412 100644 --- a/deluge/ui/gtkui/preferences.py +++ b/deluge/ui/gtkui/preferences.py @@ -154,7 +154,7 @@ class Preferences(component.Component): }) # Radio buttons to choose between systray and appindicator - self.builder.get_object('alignment_tray_type').set_visible(appindicator) + self.builder.get_object('alignment_tray_type').set_visible(bool(appindicator)) from deluge.ui.gtkui.gtkui import DEFAULT_PREFS self.COLOR_DEFAULTS = {}