mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
[GTK] Fix column name missing translation markup
With non-English languages this lookup would fail without gettext translation of the column name. A better solution is to not use the translatable column title as an index but this is a quick fix for now.
This commit is contained in:
parent
358ff74d0e
commit
970fad7557
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ class ListView(object):
|
|||
return True
|
||||
|
||||
def on_keypress_search_by_name(self, model, column, key, _iter):
|
||||
torrent_name_col = self.columns['Name'].column_indices[1]
|
||||
torrent_name_col = self.columns[_('Name')].column_indices[1]
|
||||
return not model[_iter][torrent_name_col].lower().startswith(key.lower())
|
||||
|
||||
def restore_columns_order_from_state(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue