Re: Using svg/bitmap images in javascript plasmoid

2010-02-28 Thread Aaron J. Seigo
On February 27, 2010, Nikola Milenković wrote: > If I understood correctly from JavaScript API reference, I need to upgrade > KDE to 4.4.1 in order to use QIcon? or grab the errata tarball linked to from my blog -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA

Re: Using svg/bitmap images in javascript plasmoid

2010-02-27 Thread Nikola Milenković
Thanks. iw.setIcon("media-playback-start") works. If I understood correctly from JavaScript API reference, I need to upgrade KDE to 4.4.1 in order to use QIcon? Now I receive error message: Cannot find QIcon. On Sat, Feb 27, 2010 at 5:47 PM, Aaron J. Seigo wrote: > On February 27, 2010, Nikola

Re: Using svg/bitmap images in javascript plasmoid

2010-02-27 Thread Aaron J. Seigo
On February 27, 2010, Nikola Milenković wrote: > iw.setIcon("play"); this will attempt to load a play icon from the icon theme. there is no such icon. (there is media-playback-start, however). otherwise, you'll need to pass in the path to the image in your package, e.g.: iw.setIcon(new QIcon(pl

Using svg/bitmap images in javascript plasmoid

2010-02-27 Thread Nikola Milenković
Hi, has anyone had any luck with using icons in javascript plasmoids? I would like to include a few transparent buttons in plasmoid that I'm developing for Jam session. I tried to use IconWidget, and SvgWidget, but no luck. IconWidget always displays default icon with a question mark in it, and S