-added enableAction function to corona for convenience
-added immutabilityChanged signal so that plasmaapp can respond to lock/unlock
-removed "add activity" action from containment because it's on its way to plasmaapp
-stopped adding corona actions to the containment toolbox, plasmaapp can do a better job of it
-made lock action actually disable on SystemImmutable; sure it wouldn't have worked, but now there's no worries about it showing up in the UI
svn path=/trunk/KDE/kdelibs/; revision=938383
this is a place for things which shouldn't be duplicated over every single containment, like "lock" and "new activity".
for now we still add the lock action to every containment, so that none of the code lower down notices the change - but we only have one action behind it all :)
svn path=/trunk/KDE/kdelibs/; revision=937923
On the other hand, Corona::addItem indirectly calls Containment::itemChange,
which ends up calling AppletPrivate::mainConfigGroup, which then creates a config
group in the wrong file (plasmarc) because isContainment was not set.
This also caused a regression where removed applets reappeared on next plasma run.
Fix:
Manually set isContainment before adding the item to the corona, then
call setIsContainment with a new argument to force the initialization.
svn path=/trunk/KDE/kdelibs/; revision=927886
* default to no config interface for containments
* merge the Appearance Settings and Configure actions for containments
* be even more careful with about-to-be-deleted widget (d->transient) including giving them a fake-but-valid scratchpad of a KConfigGroup if requested after deletd
* replace some method calls with direct access to the private members
svn path=/trunk/KDE/kdelibs/; revision=914890
breaking all around, and some random crashes are avoided too, all by making the
Dialog in PopupApplet no longer of the type Qt::Popup and installing an event filter
to still hide the dialog when you click somewhere else on your screen.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857095
reorder extenderitems within a Dialog. Stuff still breaks when detaching the last item, I'm still
working on that.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854547
item is removable. Implementation is still not perfect, but it's now a lot better then it
was.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853962
Clears the focus on the Corona before ~QGraphicsView runs. See comment for more info.
BUG: 165051
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851511
is in quite nice shape and basides a couple of bugs, it basically works. So what are you
still doing reading this? Port your favourite applet to extenders today! ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840978
* accept bad config objectsin Applet::save and Containment::save
* move some initialization code around to be more robust with external use (will make more sense in next commit to workspace/plasma/plasma)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828940
* select the correct containment for removal when zoomed out (will have isses on multi-screen; see FIXME)
* move containment destruction logic out of Corona; it really doesn't belong there
* remove the hack to not set focus on a containment when clicked as that doesn't seem to reliably trigger it for me here and it doesn't address the issue of a new containment still messing things up, so we really ought to have a generic solution instead of a slightly ugly hack
BUG:id=165670
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828906
* signal when the config is sync'd, so the host app (or whomever else cares to) can hook into these syncs as well.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820383