Changeset 7b72d7 for deluge/ui/gtkui/torrentview.py
- Timestamp:
- 04/28/2009 02:35:08 AM (16 years ago)
- Branches:
- 2.0.x, develop, extjs4-port, master
- Children:
- 78b5c0
- Parents:
- 925dcd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/ui/gtkui/torrentview.py
r925dcd r7b72d7 76 76 77 77 def cell_data_trackericon(column, cell, model, row, data): 78 icon_path = TrackerIcons().get(model[row][data])78 icon_path = component.get("TrackerIcons").get(model[row][data]) 79 79 if icon_path: 80 80 try: … … 82 82 except Exception, e: 83 83 pass 84 if cell.get_property("pixbuf") != icon: 85 cell.set_property("pixbuf", icon) 84 else: 85 icon = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, True, 8, 16, 16) 86 icon.fill(0x00000000) 87 88 if cell.get_property("pixbuf") != icon: 89 cell.set_property("pixbuf", icon) 86 90 87 91
Note:
See TracChangeset
for help on using the changeset viewer.