summaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtkui/listview.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/gtkui/listview.py')
-rw-r--r--deluge/ui/gtkui/listview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/gtkui/listview.py b/deluge/ui/gtkui/listview.py
index 4bf016c..887f2cb 100644
--- a/deluge/ui/gtkui/listview.py
+++ b/deluge/ui/gtkui/listview.py
@@ -333,7 +333,7 @@ class ListView:
def on_menuitem_toggled(self, widget):
"""Callback for the generated column menuitems."""
# Get the column name from the widget
- name = widget.get_child().get_text()
+ name = unicode(widget.get_child().get_text())
# Set the column's visibility based on the widgets active state
self.columns[name].column.set_visible(widget.get_active())