respect pref on compact_alloc

This commit is contained in:
Zach Tibbitts 2007-02-19 22:10:38 +00:00
parent 8c13820fbc
commit ccad71c134

View File

@ -651,7 +651,7 @@ class DelugeGTK(dbus.service.Object):
path = dgtk.show_directory_chooser_dialog(self.window) path = dgtk.show_directory_chooser_dialog(self.window)
if path is None: if path is None:
return return
unique_id = self.manager.add_torrent(torrent, path, True) unique_id = self.manager.add_torrent(torrent, path, self.pref.get('use_compact_storage', bool))
if append: if append:
self.store.append(self.get_list_from_unique_id(unique_id)) self.store.append(self.get_list_from_unique_id(unique_id))