Now Listen plasmoid
Marco Martin
notmart at gmail.com
Thu Mar 21 10:09:29 UTC 2013
On Thursday 21 March 2013, Aaron J. Seigo wrote:
> $PLASMOID_PACKAGE/images/<name>
> $SYSTEM_SVG_THEME_PATH/<name>
> $PLASMOID_PACKAGE/images/themed<name>
>
> 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 as "theme/" ..
>
> hell, we could even go completely crazy and allow having per-theme SVGs in
> there even, e.g. a search path of:
>
> $PLASMOID_PACKAGE/images/<file>
> $SYSTEM_SVG_THEME_PATH/<file>
> $PLASMOID_PACKAGE/theme/$SYSTEM_SVG_THEME_NAME/<file>
> $PLASMOID_PACKAGE/theme/<file>
>
> thoughts?
seems a good idea..
to expand on that, since the themes have some "standard" folder names, like:
widgets/
dialogs/
plasmoid pluginname/
so, when we have the path like
Svg {
path: "widgets/foo"
}
Svg {
path: "org.kde.nowplaying/foo"
}
the svg could be searched over first in the theme, if not exists in
images/org.kde.nowplaying/foo.svg
as a fallback
--
Marco Martin
More information about the Plasma-devel
mailing list