mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
Hm, ULONG doesn't work as expected - reverted back to UINT64.
This commit is contained in:
parent
27cf24a679
commit
9fcf4eb4c0
2 changed files with 4 additions and 4 deletions
|
@ -53,9 +53,9 @@ class FilesManager:
|
||||||
# in self.update_torrent_info_widget
|
# in self.update_torrent_info_widget
|
||||||
self.file_store_dict = {}
|
self.file_store_dict = {}
|
||||||
if self.is_file_tab:
|
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:
|
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)
|
self.file_store_sorted = gtk.TreeModelSort(self.file_store)
|
||||||
|
|
||||||
def use_unique_id(self, unique_id):
|
def use_unique_id(self, unique_id):
|
||||||
|
|
|
@ -431,8 +431,8 @@ class DelugeGTK:
|
||||||
# unique_ID, Q#, Status Icon, Name, Size, Progress, Message, Seeders, Peers,
|
# unique_ID, Q#, Status Icon, Name, Size, Progress, Message, Seeders, Peers,
|
||||||
# DL, UL, ETA, Share
|
# DL, UL, ETA, Share
|
||||||
self.torrent_model = gtk.ListStore(int, gobject.TYPE_UINT,
|
self.torrent_model = gtk.ListStore(int, gobject.TYPE_UINT,
|
||||||
gtk.gdk.Pixbuf, str, gobject.TYPE_ULONG, float, str, int, int,
|
gtk.gdk.Pixbuf, str, gobject.TYPE_UINT64, float, str, int, int,
|
||||||
int, int, int, int, gobject.TYPE_ULONG, float)
|
int, int, int, int, gobject.TYPE_UINT64, float)
|
||||||
# Stores unique_ID -> gtk.TreeRowReference's mapping for quick look up
|
# Stores unique_ID -> gtk.TreeRowReference's mapping for quick look up
|
||||||
self.torrent_model_dict = {}
|
self.torrent_model_dict = {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue