[maemo-developers] reloading a status bar plugin

From: b0unc3 b0unc3 at email.it
Date: Thu Feb 25 02:21:28 EET 2010
2010/2/24 Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>

> 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.
>

Yes GConf is the best alternative nowdays (it works like a charm now :)). I
didn't know why I haven't think to use it before.
Btw, thanks for your help.


>
> -Kimmo
>
>
> Best Regards,
Daniele Maio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100225/941eb67c/attachment.htm>
More information about the maemo-developers mailing list