From a3522022477eeb78f72539c348dc19210d271290 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 25 Feb 2008 06:52:56 +0000 Subject: [PATCH] Account for large files in the files list. --- deluge/ui/gtkui/addtorrentdialog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index 6b7036ab7..e416619ae 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -35,6 +35,7 @@ import pygtk pygtk.require('2.0') import gtk, gtk.glade import gettext +import gobject import pkg_resources @@ -68,7 +69,7 @@ class AddTorrentDialog: }) 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 self.files = {} self.infos = {}