Niels Slot and myself were looking at a problem with the Ruby tutorial applet, in that it was ignoring setHasConfigurationInterface(false) calls in its init() method. When I looked at the Plasma::Applet applet.cpp code there is a call to see it to true in flushPendingConstraintsEvents(). <br>
<br><br>void Applet::flushPendingConstraintsEvents()<br>{<br> if (d->pendingConstraints == NoConstraint) {<br> return;<br> }<br><br>...<br><br> if (c & StartupCompletedConstraint) {<br> // start up is done, we can now go do a mod timer<br>
if (d->modificationsTimerId > 0) {<br> killTimer(d->modificationsTimerId);<br> }<br> d->modificationsTimerId = 0;<br><br> if (!isContainment()) {<br> setHasConfigurationInterface(true);<br>
}<br> }<br><br>Is this correct? It isn't obvious why the call is here, but it does mean that scripting applets can't turn off their configuration interface.<br><br>-- Richard<br><br>