From 9fcf4eb4c00632fa4422edc17aea4b727e7962e8 Mon Sep 17 00:00:00 2001 From: Alex Dedul Date: Mon, 16 Jul 2007 23:13:54 +0000 Subject: [PATCH] Hm, ULONG doesn't work as expected - reverted back to UINT64. --- src/files.py | 4 ++-- src/interface.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/files.py b/src/files.py index 00c8f7cab..b133cc60e 100644 --- a/src/files.py +++ b/src/files.py @@ -53,9 +53,9 @@ class FilesManager: # in self.update_torrent_info_widget self.file_store_dict = {} if self.is_file_tab: - self.file_store = gtk.ListStore(bool, str, gobject.TYPE_ULONG, float) + self.file_store = gtk.ListStore(bool, str, gobject.TYPE_UINT64, float) else: - self.file_store = gtk.ListStore(bool, str, gobject.TYPE_ULONG) + self.file_store = gtk.ListStore(bool, str, gobject.TYPE_UINT64) self.file_store_sorted = gtk.TreeModelSort(self.file_store) def use_unique_id(self, unique_id): diff --git a/src/interface.py b/src/interface.py index 6edd80a76..1ff12433a 100644 --- a/src/interface.py +++ b/src/interface.py @@ -431,8 +431,8 @@ class DelugeGTK: # unique_ID, Q#, Status Icon, Name, Size, Progress, Message, Seeders, Peers, # DL, UL, ETA, Share self.torrent_model = gtk.ListStore(int, gobject.TYPE_UINT, - gtk.gdk.Pixbuf, str, gobject.TYPE_ULONG, float, str, int, int, - int, int, int, int, gobject.TYPE_ULONG, float) + gtk.gdk.Pixbuf, str, gobject.TYPE_UINT64, float, str, int, int, + int, int, int, int, gobject.TYPE_UINT64, float) # Stores unique_ID -> gtk.TreeRowReference's mapping for quick look up self.torrent_model_dict = {}