<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dne 9.5.2013 13:53, Giorgos
Tsiapaliokas napsal(a):<br>
</div>
<blockquote
cite="mid:CAODYyLZDL5YHiTz4KrG3UxQ-bqb4KSaNm-AANmEzqhavXE8DYw@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>do you have a main.xml file in your plasmoid?</div>
<div><br>
</div>
<div style="">In order to be able to write something into the
plasma config file</div>
<div style="">you need a xml like this one,</div>
<div style=""><br>
</div>
</div>
</blockquote>
I have but I didn't know it's necessary to add an entry even for
saving some configuration from the applet.<br>
<blockquote
cite="mid:CAODYyLZDL5YHiTz4KrG3UxQ-bqb4KSaNm-AANmEzqhavXE8DYw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><?xml version="1.0" encoding="UTF-8"?></div>
<div><kcfg xmlns="<a moz-do-not-send="true"
href="http://www.kde.org/standards/kcfg/1.0">http://www.kde.org/standards/kcfg/1.0</a>"</div>
<div> xmlns:xsi="<a moz-do-not-send="true"
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" </div>
<div> xsi:schemaLocation="<a moz-do-not-send="true"
href="http://www.kde.org/standards/kcfg/1.0">http://www.kde.org/standards/kcfg/1.0</a></div>
<div> <a moz-do-not-send="true"
href="http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">http://www.kde.org/standards/kcfg/1.0/kcfg.xsd</a>"></div>
<div> <kcfgfile name=""/></div>
<div> <group name="General"></div>
<div> <entry name="testfoo" type="string"></div>
<div> <label>bla bla</label></div>
<div> <default>somevalue</default></div>
<div> </entry></div>
<div> </group></div>
<div></kcfg></div>
<div class="gmail_extra">
<div><br>
</div>
<div style="">If you don't have a xml like this one, when
you do plasmoid.writeConfig</div>
<div style="">nothing will happen.</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<blockquote
cite="mid:CAODYyLZDL5YHiTz4KrG3UxQ-bqb4KSaNm-AANmEzqhavXE8DYw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div class="gmail_extra">
<div style="">Regards,</div>
<div style="">Giorgos</div>
<div><br>
</div>
-- <br>
<div dir="ltr">Giorgos Tsiapaliokas (terietor)<br>
<br>
<a moz-do-not-send="true" href="http://terietor.org"
target="_blank">terietor.org</a></div>
</div>
</div>
</div>
<br>
</blockquote>
<br>
Now it finally works, thanks a lot :)<br>
<pre class="moz-signature" cols="72">--
Jan Grulich
Red Hat Czech, s.r.o
<a class="moz-txt-link-abbreviated" href="mailto:jgrulich@redhat.com">jgrulich@redhat.com</a></pre>
</body>
</html>