Review Request 117601: Improve wallpapers deduplication code a bit
Martin Klapetek
martin.klapetek at gmail.com
Wed Apr 16 19:03:19 UTC 2014
> On April 16, 2014, 8:53 p.m., Marco Martin wrote:
> > uhm, is this use of symlinks actually widespread/common or is some obscure corner case?
No idea; better safe than sorry was what I was thinking.
- Martin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117601/#review55907
-----------------------------------------------------------
On April 16, 2014, 8:46 p.m., Martin Klapetek wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117601/
> -----------------------------------------------------------
>
> (Updated April 16, 2014, 8:46 p.m.)
>
>
> Review request for Plasma.
>
>
> Repository: plasma-workspace
>
>
> Description
> -------
>
> On my system, I have a symlink /usr/share/wallpapers/kde-default.png -> /usr/share/wallpapers/Elarun/contents/images/someresolution.png. This symlink gets processed as an additional image even though it actually points to an image which is already in the set.
>
> So I changed it to always work with the target rather than symlink and then it also checks for the target possibly being in a package, if it is, then it processes the whole package rather than only one file from it.
>
> This fixes one wallpaper (same path) to be shown twice in the wallpaper select dialog.
>
>
> Diffs
> -----
>
> wallpapers/image/backgroundlistmodel.cpp 9a051fe
>
> Diff: https://git.reviewboard.kde.org/r/117601/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Martin Klapetek
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140416/c73d9d45/attachment.html>
More information about the Plasma-devel
mailing list