Author: andar

Revision: 5100

Log:
        Force 16x16 pixbufs in tracker column

Diff:
Modified: trunk/deluge/ui/gtkui/torrentview.py
===================================================================
--- trunk/deluge/ui/gtkui/torrentview.py        2009-04-20 03:51:15 UTC (rev 
5099)
+++ trunk/deluge/ui/gtkui/torrentview.py        2009-04-20 18:11:22 UTC (rev 
5100)
@@ -78,7 +78,7 @@
     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:



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to