Force 16x16 pixbufs in tracker column

This commit is contained in:
Andrew Resch 2009-04-20 18:11:22 +00:00
commit b605048d23

View file

@ -78,7 +78,7 @@ def cell_data_trackericon(column, cell, model, row, data):
icon_path = TrackerIcons().get(model[row][data]) icon_path = TrackerIcons().get(model[row][data])
if icon_path: if icon_path:
try: try:
icon = gtk.gdk.pixbuf_new_from_file(icon_path) icon = gtk.gdk.pixbuf_new_from_file_at_size(icon_path, 16, 16)
except Exception, e: except Exception, e:
pass pass
if cell.get_property("pixbuf") != icon: if cell.get_property("pixbuf") != icon: