Account for large files in the files list.

This commit is contained in:
Andrew Resch 2008-02-25 06:52:56 +00:00
parent 4513531ef4
commit a352202247
1 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ import pygtk
pygtk.require('2.0') pygtk.require('2.0')
import gtk, gtk.glade import gtk, gtk.glade
import gettext import gettext
import gobject
import pkg_resources import pkg_resources
@ -68,7 +69,7 @@ class AddTorrentDialog:
}) })
self.torrent_liststore = gtk.ListStore(str, str, str) self.torrent_liststore = gtk.ListStore(str, str, str)
self.files_liststore = gtk.ListStore(bool, str, int) self.files_liststore = gtk.ListStore(bool, str, gobject.TYPE_UINT64)
# Holds the files info # Holds the files info
self.files = {} self.files = {}
self.infos = {} self.infos = {}