Dne 9.5.2013 13:53, Giorgos Tsiapaliokas napsal(a):
Hello,
do you have a main.xml file in your plasmoid?
In order to be able to write something into the plasma config file
you need a xml like this one,
I have but I didn't know it's necessary to add an entry even for saving
some configuration from the applet.
<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name=""/>
<group name="General">
<entry name="testfoo" type="string">
<label>bla bla</label>
<default>somevalue</default>
</entry>
</group>
</kcfg>
If you don't have a xml like this one, when you do plasmoid.writeConfig
nothing will happen.
Regards,
Giorgos
--
Giorgos Tsiapaliokas (terietor)
terietor.org <http://terietor.org>
Now it finally works, thanks a lot :)
--
Jan Grulich
Red Hat Czech, s.r.o
jgrul...@redhat.com
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel