[Rhythmbox-devel] Python Plugin and UI
- From: "Patrick Sernetz" <patrickse googlemail com>
- To: rhythmbox-devel <rhythmbox-devel gnome org>
- Subject: [Rhythmbox-devel] Python Plugin and UI
- Date: Wed, 4 Jul 2007 17:02:58 +0200
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)
image.set_from_file(self.find_file("wikiview.png")
image.show()
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]