diff options
author | Serge Matveenko <s@matveenko.ru> | 2011-12-01 19:20:35 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2011-12-01 19:21:13 +0000 |
commit | 0941377fac448d1987514de27a8f83c6f293c6ce (patch) | |
tree | 0fc0f9888aba09014a084b793dc13d19040b2656 | |
parent | 1a8aa4b9202cf5421cc52f3c73b4fa6f75819016 (diff) | |
download | deluge-0941377fac448d1987514de27a8f83c6f293c6ce.tar.gz deluge-0941377fac448d1987514de27a8f83c6f293c6ce.tar.bz2 deluge-0941377fac448d1987514de27a8f83c6f293c6ce.zip |
Fix #1957 : Columns don't add resulting in keyerror for non-latin languages
-rw-r--r-- | deluge/ui/gtkui/listview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/gtkui/listview.py b/deluge/ui/gtkui/listview.py index 4bf016c38..887f2cb00 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()) |