[Differential] [Request, 13 lines] D2339: support plasmoid config restore on applet add
mart (Marco Martin)
noreply at phabricator.kde.org
Tue Aug 2 15:42:50 UTC 2016
mart created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
if a configuration for applet geometries is already there,
use it when an applet is added.
this makes possible to do with desktop scripting:
cont.writeConfig("ItemsGeometries", "Applet-89:1104,384,256,240,0;");
cont.addWidget("org.kde.plasma.analogclock", 89);
REPOSITORY
rPLASMADESKTOP Plasma Desktop
BRANCH
phab/configrestore
REVISION DETAIL
https://phabricator.kde.org/D2339
AFFECTED FILES
containments/desktop/package/contents/code/LayoutManager.js
containments/desktop/package/contents/ui/main.qml
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: mart
Cc: plasma-devel, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160802/48c94b7d/attachment-0001.html>
More information about the Plasma-devel
mailing list