[Rhythmbox-devel] Python Plugin and UI

I am still writing my Wikipedia Plugin and I can view the Artist page inside rb.. it works rather nicely.. Just a short question. While using the gtk.action to create the toolbar button I want to display a custom icon. How is this intended to work.. is there a better process to load an icon into the control. I've already tried this.

image = self.action.create_icon(gtk.ICON_SIZE_SMALL_TOOLBAR)

But it seems that the self.action.create_icon returns a None type...

Any suggestions ...

regards patrick

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