Re: [Muine] Getting the cover image...



På Thu, Apr 06, 2006 at 10:58:50AM +0200, Jeroen Zwartepoorte skrev:
> What about showing the cover art in the notification bubble? Doesn't
> Banshee do something like that? (can't check atm)

The code is there, but I just can't seem to get it to work. I've tried to
debug it, but didn't succeed. My patch uses these lines of code:

|  if (cover != null) {
|    cover = cover.ScaleSimple(42, 42, InterpType.Bilinear);
|    notify_notification_set_icon_from_pixbuf(notif, cover.Handle);
|  }

I've double checked that 'cover' is really not null, but there's still no
image shown in the bubble. Maybe you can help me out? I would really like
the cover image to show up...

  mvrgr, Wouter

-- 
:wq                                                       mail uws xs4all nl
                                                      web http://uwstopia.nl

but sometimes :: it's better to lie                          -- hooverphonic

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]