[maemo-developers] How to keep hildon-plugin-manager from loading plugins before the package is installed completely?

From: Henrik Hedberg henrik.hedberg at innologies.fi
Date: Tue Jun 29 23:01:21 EEST 2010
On 28/06/10 22:38, pHilipp Zabel wrote:

 > My assessment of the situation is that hildon-status-menu loads the
 > plugin as soon as status-area-applet-tor.desktop is unpacked. It then
 > races against the unpacking process and wins. It tries to load the
 > icon before the maemo-optified link
 > /usr/share/icons/hicolor/48x48/hildon/statusarea_tor_disabled.png is
 > created.
 > Is this what happens? What should I do about it - I guess I can't stop
 > h-s-m from prematurely loading the plugin?

    Could you unpack the desktop file to some other place or name first, 
and then use postinst script to move it into right place and name? By 
that way, hildon-status-menu sees the new file only after the whole 
package is unpacked.

    BR,

    Henrik

-- 
    Henrik Hedberg  -  http://www.henrikhedberg.net/
More information about the maemo-developers mailing list