Changeset f168f7
- Timestamp:
- 01/04/2009 08:47:26 AM (16 years ago)
- Children:
- 7226cbb
- Parents:
- 923cfa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r923cfa rf168f7 5 5 GtkUI: 6 6 * Fix folder renaming to display the change properly 7 * Fix seeding torrents from moving around when sorting the '#' column 7 8 8 9 Plugins: -
deluge/ui/gtkui/listview.py
r923cfa rf168f7 162 162 must be called after listview.create_new_liststore 163 163 """ 164 sort_column = None165 if self.model_filter:166 # Save the liststore filter column167 sort_column = self.model_filter.get_sort_column_id()168 164 model_filter = self.liststore.filter_new() 169 165 model_filter.set_visible_column( … … 172 168 self.set_sort_functions() 173 169 self.treeview.set_model(self.model_filter) 174 if sort_column and sort_column != (None, None):175 self.model_filter.set_sort_column_id(*sort_column)176 170 177 171 def set_sort_functions(self): 178 172 for column in self.columns.values(): 179 173 if column.sort_func: 180 log.debug("sort_func: %s sort_id: %s", column.sort_func, column.sort_id)181 174 self.model_filter.set_sort_func( 182 175 column.sort_id, -
deluge/ui/gtkui/torrentview.py
r923cfa rf168f7 280 280 row[filter_column] = False 281 281 else: 282 row[filter_column] = True 282 283 if torrent_id in self.prev_status and status[torrent_id] == self.prev_status[torrent_id]: 283 284 # The status dict is the same, so do not update 284 285 continue 285 row[filter_column] = True 286 286 287 # Set values for each column in the row 287 288 for column in self.columns_to_update:
Note:
See TracChangeset
for help on using the changeset viewer.