Review Request 123211: Ask for confirmation before deleting a wallpaper.

Antonis Tsiapaliokas antonis.tsiapaliokas at kde.org
Fri Apr 3 15:07:48 UTC 2015



> On April 2, 2015, 4:44 p.m., Marco Martin wrote:
> > wallpapers/image/backgroundlistmodel.h, line 93
> > <https://git.reviewboard.kde.org/r/123211/diff/2/?file=359798#file359798line93>
> >
> >     this function is not clear what it actually does
> >     looks like a verb but returns a list?
> >     i tought it was actually *doing* the deletion,
> >     
> >     maybe either this could directly call removewallpaper or be renamed to something else like wallpapersAwaitingDeletion() or deletionCandidates()

yes, the name of that function was a bit off. So i rename it to wallpapersAwaitingDeletion().


- Antonis


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123211/#review78416
-----------------------------------------------------------


On April 3, 2015, 3:06 p.m., Antonis Tsiapaliokas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123211/
> -----------------------------------------------------------
> 
> (Updated April 3, 2015, 3:06 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Bugs: 338729
>     https://bugs.kde.org/show_bug.cgi?id=338729
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> This patch is adding a confirmation dialog which is being called before we remove a wallpaper.
> 
> 
> Diffs
> -----
> 
>   wallpapers/image/backgroundlistmodel.h 01b528d 
>   wallpapers/image/backgroundlistmodel.cpp d062650 
>   wallpapers/image/image.h a00e431 
>   wallpapers/image/image.cpp f0c672a 
>   wallpapers/image/imagepackage/contents/ui/WallpaperDelegate.qml aee2d3f 
>   wallpapers/image/imagepackage/contents/ui/config.qml 2108082 
> 
> Diff: https://git.reviewboard.kde.org/r/123211/diff/
> 
> 
> Testing
> -------
> 
> 
> File Attachments
> ----------------
> 
> dialog
>   https://git.reviewboard.kde.org/media/uploaded/files/2015/04/01/5bfd2d7c-8baa-4b80-ad20-0844aafdb3a9__deletion_dialog.png
> wallpaper remove
>   https://git.reviewboard.kde.org/media/uploaded/files/2015/04/02/8acc3dab-4c2a-4cc2-9ba3-9893e42c32d3__wallpaper_undo.png
> wallpaper restore
>   https://git.reviewboard.kde.org/media/uploaded/files/2015/04/02/4b23e100-194a-4557-926c-d7af252f15d7__wallpaper_undo3.png
> 
> 
> Thanks,
> 
> Antonis Tsiapaliokas
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150403/fdd0d991/attachment-0001.html>


More information about the Plasma-devel mailing list