Re: Problem with Gnome 2.0 applet



Hey,

On Sun, 7 Jul 2002, FlashCode wrote:

>
> Hi,
>
> I'm trying to port my Gnome 1.4 applet to Gnome 2.0 (http://gmemo.sf.net).
> I created required files (.server, .xml), I modified my source (bonobo, ...) and I've got a problem :
> the function panel_applet_factory_main (called into macro PANEL_APPLET_BONOBO_FACTORY) returns error code 256.
> And my function gmemo_applet_factory (third parameter of panel_applet_factory_main) isn't called.
> My applet does nothing when I launch it.
>
> Moreover, I've some documentation about Gnome 2.0 applets (file:///usr/share/doc/libpanel-applet2-dev/html/applet-writing.html)
> but some things are wrong (e.g.: argument to panel_applet_new).
> Does anyone knows another documentation on how to write applets for Gnome 2.0 ?

	The documentation from CVS is a *little* bit more up to date,
but not much. I just haven't had much time to write it ..

	Your best bet is just to look at what other applets do - most
applets were ported pretty quickly and painlessly.

Good Luck,
Mark.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]