Author: andar
Revision: 5603
Log:
Fix issue where the column state wouldn't save if not using English
Diff:
Modified: trunk/deluge/ui/gtkui/torrentview.py
===================================================================
--- trunk/deluge/ui/gtkui/torrentview.py 2009-07-31 08:35:28 UTC (rev
5602)
+++ trunk/deluge/ui/gtkui/torrentview.py 2009-07-31 18:47:42 UTC (rev
5603)
@@ -481,9 +481,8 @@
for row in self.liststore:
if not torrent_id ==
row[self.columns["torrent_id"].column_indices[0]]:
continue
+ row[self.get_column_index(_("Progress"))[1]] = state
- row[self.get_column_index("Progress")[1]] = state
-
self.mark_dirty(torrent_id)
def on_sessionpaused_event(self):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---