Tweaks to the files tab code.

This commit is contained in:
Alex Dedul 2007-07-24 20:00:35 +00:00
parent 47e723fa89
commit bf1b157b88
1 changed files with 1 additions and 3 deletions

View File

@ -190,9 +190,7 @@ class FilesTabManager(FilesBaseManager):
# From UI to core # From UI to core
def update_priorities(self): def update_priorities(self):
file_priorities = [] file_priorities = [x[2] for x in self.file_store]
for x in self.file_store:
file_priorities.append(x[2])
self.manager.prioritize_files(self.file_unique_id, file_priorities) self.manager.prioritize_files(self.file_unique_id, file_priorities)
class FilesDialogManager(FilesBaseManager): class FilesDialogManager(FilesBaseManager):