Attempt fixing #146.

This commit is contained in:
Andrew Resch 2008-04-15 02:46:29 +00:00
parent ff2d7ba7f8
commit 1861ef439f

View file

@ -35,6 +35,7 @@ import gtk, gtk.glade
import os.path
import cPickle
import pkg_resources
import gobject
from itertools import izip
from deluge.ui.client import aclient as client
@ -57,7 +58,7 @@ class PeersTab:
glade = component.get("MainWindow").get_glade()
self.listview = glade.get_widget("peers_listview")
# country pixbuf, ip, client, downspeed, upspeed, country code, int_ip, seed/peer icon
self.liststore = gtk.ListStore(gtk.gdk.Pixbuf, str, str, int, int, str, int, gtk.gdk.Pixbuf)
self.liststore = gtk.ListStore(gtk.gdk.Pixbuf, str, str, int, int, str, gobject.TYPE_UINT, gtk.gdk.Pixbuf)
self.cached_flag_pixbufs = {}
self.seed_pixbuf = gtk.gdk.pixbuf_new_from_file(deluge.common.get_pixmap("seeding16.png"))