Plasma Containment default setting
Varun Herale
varun.herale at gmail.com
Mon Jun 18 19:21:49 UTC 2012
New Link <http://paste.kde.org/502880/>
The old one got deleted..
I am trying to implement wallpaper plugin for digikam as SoK project. Using
> an applet I am able to change the wallpaper but not otherwise as I need the
> current desktop containment object.
>
> I am trying to obtain that by creating a containment object and restoring
> from the config file. But the isContainment() is set to false in this case.
>
> I also tried using the static load function from Plasma::Applet, but
> because the desktop plugin has both Plasma/Applet and Plasma/Containment,
> the isContainment() is set to false this way too.
>
> Currently I have a Wallpaper object loaded this way and changed the Url and
> saved it back to the file. But as update signals are protected I can't
> change the wallpaper in realtime. If I can get the current containment
> object, I can use the Plasma::Containment::setWallpaper() function after
> saving the new config and it will update.
>
> Pastebin <http://paste.kde.org/502064/>
>
> Is there another way to change the wallpaper from an application ?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120619/c6d2e830/attachment.html>
More information about the Plasma-devel
mailing list