Force 16x16 pixbufs in tracker column

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

View File

@ -78,7 +78,7 @@ def cell_data_trackericon(column, cell, model, row, data):
icon_path = TrackerIcons().get(model[row][data])
if icon_path:
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:
pass
if cell.get_property("pixbuf") != icon: