Review Request 109859: Allow plasmoids to provide fallbacks for themed images

Marco Martin notmart at gmail.com
Fri May 3 12:01:40 UTC 2013



> On April 9, 2013, 7:17 p.m., Commit Hook wrote:
> > This review has been submitted with commit b32e6a8ebbebb6dfa836712874d942133a0fff71 by Alex Merry to branch master.

Has this ever been ported to plasma-framework?

and, it currently breaks unit tests


- Marco


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109859/#review30809
-----------------------------------------------------------


On April 9, 2013, 7:17 p.m., Alex Merry wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109859/
> -----------------------------------------------------------
> 
> (Updated April 9, 2013, 7:17 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Description
> -------
> 
> This adds an extra step to the lookup of SVG images created with the Svg() global function: after looking in images/ in the plasmoid and then in the desktop theme, it looks in theme/$DESKTOP_THEME_NAME and then theme/ in the plasmoid.
>     
> This allows plasmoid authors to add images that they want to allow theme authors to override.
> 
> Depends on RR 109857
> 
> 
> Diffs
> -----
> 
>   plasma/scriptengines/javascript/plasmoid/themedsvg.cpp 9de25a1bad3380ac964685b0516705d906a10592 
> 
> Diff: http://git.reviewboard.kde.org/r/109859/diff/
> 
> 
> Testing
> -------
> 
> Checked with Now Playing that Svg("nocover") finds "content/images/nocover.svgz" and "content/theme/nocover.svgz" in the plasmoid, and that $KDEDIR/share/apps/desktoptheme/default/nocover.svgz overrides the latter.
> 
> 
> Thanks,
> 
> Alex Merry
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130503/0ace9688/attachment.html>


More information about the Plasma-devel mailing list