Album art tooltip change

Use set_icon() instead of set_custom() to set the album art tooltip.
This commit is contained in:
Bryan Schumaker 2010-11-07 16:15:05 -05:00
parent 1f85218eba
commit 1f8b72185f
1 changed files with 1 additions and 2 deletions

View File

@ -49,8 +49,7 @@ class AlbumArt(Image):
def tooltip(self, image, x, y, keyboard, tip):
image = gtk.Image()
image.set_from_file(self.file)
image.show()
tip.set_custom(image)
tip.set_icon(image.get_pixbuf())
return True
def set(self, file=None):