Python Applet and configChanged
Petri Damstén
petri.damsten at gmail.com
Tue May 26 11:20:02 CEST 2009
Hi,
Testing python applet and noticed that configChanged is not forwarded to
python applets (attached diff).
Currently configChanged is called multiple times at start and at config dialog
close. Should Plasma take care of calling configChanged just once in these
situations?
plasmoidviewer with python applet start (configChanged called 4 times):
main.py __init__
main.py init
main.py constraintsEvent
main.py constraintsEvent
main.py constraintsEvent
plasmoidviewer(18498) KCoreConfigSkeleton::writeConfig:
plasmoidviewer(18498)/libplasma Plasma::Applet::configChanged: KConfigSkeleton
main.py configChanged
plasmoidviewer(18498) KCoreConfigSkeleton::writeConfig:
plasmoidviewer(18498)/libplasma Plasma::Applet::configChanged: KConfigSkeleton
main.py configChanged
main.py constraintsEvent
plasmoidviewer(18498) KCoreConfigSkeleton::writeConfig:
plasmoidviewer(18498)/libplasma Plasma::Applet::configChanged: KConfigSkeleton
main.py configChanged
plasmoidviewer(18498) KCoreConfigSkeleton::writeConfig:
plasmoidviewer(18498)/libplasma Plasma::Applet::configChanged: KConfigSkeleton
main.py configChanged
config dialog ok pressed after changing data (configChanged called 3 times):
plasmoidviewer(18498) KCoreConfigSkeleton::writeConfig:
plasmoidviewer(18498)/libplasma Plasma::Applet::configChanged: KConfigSkeleton
main.py configChanged
plasmoidviewer(18498)/libplasma Plasma::AppletPrivate::configDialogFinished:
plasmoidviewer(18498)/libplasma Plasma::Applet::configChanged: KConfigDialog
main.py configChanged
plasmoidviewer(18498)/libplasma Plasma::AppletPrivate::configDialogFinished:
plasmoidviewer(18498)/libplasma Plasma::Applet::configChanged: KConfigDialog
main.py configChanged
Petri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configchanged.diff
Type: text/x-patch
Size: 977 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090526/96686a20/attachment-0001.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090526/96686a20/attachment-0001.sig
More information about the Plasma-devel
mailing list