Review Request: picture frame widget - open potd picture

Aaron J. Seigo aseigo at kde.org
Thu Oct 27 19:06:41 UTC 2011



> On Oct. 25, 2011, 11:35 a.m., Aaron J. Seigo wrote:
> > applets/frame/slideshow.cpp, lines 221-222
> > <http://git.reviewboard.kde.org/r/102817/diff/1/?file=38475#file38475line221>
> >
> >     much cleaner than this, which introduces an assumption on where potd stores things into the widget, would be add a URL item in the potd DataEngine that is included with the source. this could be either a remote or a local URL and wouldn't require the applet to be changed if/when the DataEngine changes.
> 
> Greg T wrote:
>     Well, I get the basic idea but can you try to explain it a little bit more in detail? I suppose I should make a change in kdeplasma-addons/dataengines/potd/potd.cpp?

yes, a change in the dataengine .. so that when it doest setData( provider->identifier(), provider->image() ) it will also do a setData(provider->identifier(), "URL", someUrlToTheImage)

in fact, i'd even change that first setData to be setData(rovider->identifier(), "Image", provider->image()) and then change the plasmoid to work with that. if there were other potential users of this dataengine, it could also be moved into kde-workspace (i could imagine a wallpaper using it, for instance :)


- Aaron J.


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


On Oct. 10, 2011, 10:41 a.m., Greg T wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102817/
> -----------------------------------------------------------
> 
> (Updated Oct. 10, 2011, 10:41 a.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Description
> -------
> 
> Hi,
> This fix passes m_currentUrl the correct file path, so the downloaded picture will be opened by the picture viewer (gwenview). 
> 
> 
> This addresses bug 280406.
>     http://bugs.kde.org/show_bug.cgi?id=280406
> 
> 
> Diffs
> -----
> 
>   applets/frame/slideshow.cpp 116c514 
> 
> Diff: http://git.reviewboard.kde.org/r/102817/diff/diff
> 
> 
> Testing
> -------
> 
> Bug fixed.
> 
> 
> Thanks,
> 
> Greg T
> 
>

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


More information about the Plasma-devel mailing list