[PATCH] BUG167947 pick a picture and set it as wallpaper in dolphin and konqueror

Chani chanika at gmail.com
Fri Aug 7 05:20:00 CEST 2009


On August 6, 2009 19:46:13 潘卫平(Peter Pan) wrote:
> Chani 写道:
> > On August 6, 2009 03:53:10 Aaron J. Seigo wrote:
> >> On Thursday 06 August 2009, 潘卫平(Peter Pan) wrote:
> >>> In KDE 3 , it was possible to set a wallpaper by dragging a picture
> >>> from konqueror. And I implement this feature in Plasma::Containment.
> >>
> >> i don't think this is really the right place for this code (in
> >> Containment); rather, i think this would be better implemented as an
> >> extension to Chani's containment actions project.
> >>
> >> not all libplasma based applications will want to have images dropped on
> >> them setting the background, so this is really something that needs to
> >> be done per- application. being able to define the default actions for
> >> dropped data therefore seems to make more sense.
> >>
> > :/
> >
> > I guess it'd be possible to move all the drag&drop code into the paste
> > plugin and add a hack to store that plugin under some special key and
> > call it with the drag event...
> > if it ever gets a config UI, though, you'd have trouble. right now they'd
> > share the same config, which might be surprising. if I fix that then
> > there'd be no way to configure drag&drop, unless you stick a button for
> > it somewhere...
>
> Where can I get some inforamtion about the paste plugin and your
> containment actions project?

it's on gitorious right now; it should be in trunk sometime in the next two 
weeks. patches are up on reviewboard too but they're big. :)

-- 
This message brought to you by eevil bananas and the number 3.
www.chani3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090806/cf8eb953/attachment.sig 


More information about the Plasma-devel mailing list