+ dialog = AlbumArtSelectionDialog (self, artist, album, 5)
+ dialog.show_all ()
+
+ response = dialog.run ()
+ if (response == RESPONSE_CLICK):
+ (img, thumb) = dialog.get_selection ()
+ if img and thumb:
+ pixbuf = gtk.gdk.pixbuf_new_from_file_at_size (thumb, 64, 64)
+ treeview.get_model ().set (it, 1, pixbuf)
+ else:
+ treeview.get_model ().set (it, 1, None)
+ dialog.destroy ()
+