[maemo-developers] reloading a status bar plugin

From: Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Date: Wed Feb 24 14:32:24 EET 2010
On Wed, 2010-02-24 at 13:21 +0100, ext b0unc3 wrote:
...
>         
>         dsmetool -k /usr/bin/hildon-status-menu
>         dsmetool -t /usr/bin/hildon-status-menu
> 
> This is the current way I'm doing that, but, as you said, it's ugly.

Yes, because The Right Way is for your plugin to load the new settings
without requiring reloading of the plugin. That should be doable for all
settings, no?  You can look e.g. hildon-desktop that reloads
its /usr/share/hildon-desktop/transitions.ini configuration on-the-fly.
Using Gconf settings (and handling change notifications for them) is
another alternative.

-Kimmo


More information about the maemo-developers mailing list