Re: Problem developing panel applet
- From: Michael Meeks <michael ximian com>
- To: Tony Houghton <gnome realh co uk>
- Cc: gnome-devel-list gnome org
- Subject: Re: Problem developing panel applet
- Date: 17 Sep 2002 17:16:07 +0100
Hi Tony,
On Mon, 2002-09-16 at 23:23, Tony Houghton wrote:
> Is this the right place to try to get help in writing a Gnome2 panel
> applet?
Yep - fine here.
> Now I'm stuck with the Gnome2 version of my applet. I've repeatedly
> checked that my Bonobo .server file is in the same form as the docs and
> the applets that come with Gnome2 (geyes, battstat etc), and that I'm
> calling PANEL_APPLET_BONOBO_FACTORY in the same way. But my factory
> callback function never seems to get called and I get an error box:
Ok; that sucks ;-) could be one of several problems.
> There was a problem loading applet 'OAFIID:GNOME_TgaugeApplet'
What happens if you run the applet by itself ? does the
bonobo_activation_register thing succeed ? if not you should exit. If
that's the case - you didn't install the .server file in the right place
and/or b-a-s didn't notice it there. Try killall -9
bonobo-activation-server [ this will have somewhat wierd effects until
you re-start the desktop incidentally ].
> Details: Child process did not give an error message, unknown failure
> occurred
Right; another thing - if you want to get into it that'd be great would
be to have a hack a b-a-s for me to redirect stderr / stdout to a string
exception on activation, so if it fails we can return more information
to the user about eg. component link errors. Mail me if you're
interested.
Regards,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]