Re: Now Listen plasmoid

2013-04-01 Thread Alex Merry
On 21/03/13 09:48, Aaron J. Seigo wrote: > $PLASMOID_PACKAGE/images/ > $SYSTEM_SVG_THEME_PATH/ > $PLASMOID_PACKAGE/theme/$SYSTEM_SVG_THEME_NAME/ > $PLASMOID_PACKAGE/theme/ I've been trying to implement this, and have come across a hurdle: Plasma::Theme does not have a way of getting hold of the fa

Re: Now Listen plasmoid

2013-03-21 Thread Alex Merry
On 21/03/13 09:48, Aaron J. Seigo wrote: On Thursday, March 21, 2013 00:00:52 you wrote: PlasmaCore.SvgItem { svg: Svg("nocover") } yes, or Svg { source: "nocover" } Does that really work? When I did Svg { imagePath: "nocover" }, QML complained that Svg is not a type (it's a global func

Re: Now Listen plasmoid

2013-03-21 Thread Aaron J. Seigo
On Thursday, March 21, 2013 11:09:29 Marco Martin wrote: > the svg could be searched over first in the theme, if not exists in > images/org.kde.nowplaying/foo.svg > as a fallback which will create an unexpected result if someone tries to name something widgets/foo.svg without realizing that there

Re: Now Listen plasmoid

2013-03-21 Thread Marco Martin
On Thursday 21 March 2013, Aaron J. Seigo wrote: > $PLASMOID_PACKAGE/images/ > $SYSTEM_SVG_THEME_PATH/ > $PLASMOID_PACKAGE/images/themed > > this could get tripped up if the file path is "themed/myimage.svg" but that > seems like a stretch .. we could have a completely different directory, > such

Re: Now Listen plasmoid

2013-03-21 Thread Aaron J. Seigo
On Thursday, March 21, 2013 00:00:52 you wrote: > PlasmaCore.SvgItem { > svg: Svg("nocover") > } yes, or Svg { source: "nocover" } > This seems to work, in that it finds content/images/nocover.svgz as > expected. However, the effect is exactly the same as my original code, > which was > > Pla

Re: Now Listen plasmoid

2013-03-20 Thread Alex Merry
On 20/03/13 13:00, Aaron J. Seigo wrote: On Tuesday, March 19, 2013 23:44:37 Alex Merry wrote: I investigated this, and there does not seem to be an easy way to do it with QML plasmoids. If you just ask for something "from the theme", you can't provide a default in the plasmoid. To get somethi

Re: Now Listen plasmoid

2013-03-20 Thread šumski
On Tuesday 19 of March 2013 23:44:37 Alex Merry wrote: > On 19/03/13 23:38, Malcer wrote: > > Hi Alex! How are you? I hope well. :) > > > > I'm going to the point: I'm the creator of Caledonia, a plasma theme, and > > I > > like your plasmoid... but exist a problem. > > > > Since a few versions,

Re: Now Listen plasmoid

2013-03-20 Thread Aaron J. Seigo
On Tuesday, March 19, 2013 23:44:37 Alex Merry wrote: > I investigated this, and there does not seem to be an easy way to do it > with QML plasmoids. If you just ask for something "from the theme", you > can't provide a default in the plasmoid. To get something from the > plasmoid, you have to ex

Re: Now Listen plasmoid

2013-03-19 Thread Alex Merry
On 19/03/13 23:38, Malcer wrote: > Hi Alex! How are you? I hope well. :) > > I'm going to the point: I'm the creator of Caledonia, a plasma theme, and I > like your plasmoid... but exist a problem. > > Since a few versions, I don't succeed to change the CD case in the plasmoid > if > the song