Python Applet and configChanged
Richard Dale
richard.j.dale at gmail.com
Wed May 27 17:39:14 CEST 2009
On Wed, May 27, 2009 at 2:55 PM, Petri Damstén <petri.damsten at gmail.com> wrote:
> On Tuesday 26 May 2009 21:05:02 Aaron J. Seigo wrote:
>> On Tuesday 26 May 2009, Petri Damstén wrote:
>> > Yes, seems to be called only once now. I think it still gets called when
>> > Cancel is pressed if configLoader == 0?
>>
>> this should be better in trunk now. testing with the javascript
>> Plasma::ScriptEngine i'm only getting configChanged calls when the config
>> actually changes now. huzzah for that.
>
> Works with python applet too. Is it ok to commmit configChanged() patch to
> pyappletscript.py?
As well as your patch don't we need a 'do nothing' default
implemtation of configChanged()?
Index: plasmascript.py
===================================================================
--- plasmascript.py (revision 966580)
+++ plasmascript.py (working copy)
@@ -57,6 +57,9 @@
def init(self):
pass
+ def configChanged(self):
+ pass
+
def paintInterface(self, painter, options, rect):
pass
-- Richard
More information about the Plasma-devel
mailing list