On Tue, Mar 2, 2010 at 8:42 PM, Antony Loebs <barefootedjournal...@gmail.com > wrote:
> > > On Fri, Feb 26, 2010 at 6:57 PM, Aaron J. Seigo <ase...@kde.org> wrote: > >> > self.button = Plasma.Label(self.applet) >> > self.button.setImage(self.package().path() + >> "contents/images/image.png") >> >> that should be: self.package().filePath("images", "image.png") >> > > When I do that, I get a big red button with a white X. (This is using > 4.4.1-0ubuntu1 on Kubuntu Lucid, just upgraded today.) > > Oops, my bad. I forgot a closing parenthesis at the end. Helps to run it through plasmoidviewer... :)
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel