mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-28 19:10:35 +00:00
fix priority...hopefully
This commit is contained in:
parent
dabe429108
commit
daaa79360a
@ -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)
|
||||
|
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# tab_files.py
|
||||
# files.py
|
||||
#
|
||||
# Copyright (C) Zach Tibbitts 2006 <zach@collegegeek.org>
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user