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,

<?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
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to