fix priority...hopefully

This commit is contained in:
Marcos Pinto 2007-10-10 16:26:19 +00:00
parent dabe429108
commit daaa79360a
2 changed files with 2 additions and 4 deletions

View File

@ -44,7 +44,6 @@ class FilesTabManager(FilesBaseManager):
gobject.TYPE_UINT, float)
super(FilesTabManager, self).__init__(file_view, file_store)
self.manager = manager
self.file_unique_id = None
@ -69,8 +68,7 @@ class FilesTabManager(FilesBaseManager):
self.file_unique_id = unique_id
def priority_clicked(self, widget):
state = self.manager.get_torrent_state(self.file_unique_id)
if state["compact_mode"]:
if self.manager.get_pref("use_compact_storage"):
self.compact_allocation_warning()
else:
super(FilesTabManager, self).priority_clicked(widget)

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# tab_files.py
# files.py
#
# Copyright (C) Zach Tibbitts 2006 <zach@collegegeek.org>
#