Ambroz Bizjak 6ebe8f0b9f backport revision 927886
Fix regressions introduced by 914888.

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=/branches/KDE/4.2/kdelibs/; revision=927891
2009-02-18 14:01:30 +00:00
..
2009-02-18 14:01:30 +00:00
2009-01-28 08:13:19 +00:00
2009-01-06 13:09:05 +00:00
2008-11-04 02:39:56 +00:00
2008-12-01 18:30:42 +00:00
2008-12-30 18:00:59 +00:00
2009-02-03 23:03:25 +00:00
2008-12-21 11:56:01 +00:00
2008-11-04 02:39:56 +00:00