<br><br><div class="gmail_quote">2010/2/24 Kimmo Hämäläinen <span dir="ltr"><<a href="mailto:kimmo.hamalainen@nokia.com">kimmo.hamalainen@nokia.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, 2010-02-23 at 20:06 +0100, ext b0unc3 wrote:<br>
> Hello,<br>
><br>
> I've created a statusbar plugin, now I want to reload it (eg. when the<br>
> configuration file changes).<br>
> What is the best way to do that ?<br>
<br>
</div>If the plugin can be unloaded and reloaded cleanly (meaning, it does not<br>
crash hildon-status-menu :)), you could touch the .desktop file in some<br>
way (e.g. increase version number inside the file) to make HSM unload<br>
and reload you.<br></blockquote><div><br>I cannot change the .desktop contents by user.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
If your plugin is not unloadable, you can do this ugly trick (other<br>
plugins can react to this somehow):<br>
<br>
dsmetool -k /usr/bin/hildon-status-menu<br>
dsmetool -t /usr/bin/hildon-status-menu<br></blockquote><div><br>This is the current way I'm doing that, but, as you said, it's ugly.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
-Kimmo<br>
<br>
><br>
><br>
><br>
> Best Regards,<br>
> Daniele Maio.<br>
<br>
</blockquote></div><br>