Re: Creating an applet for gnome 2.0



On Thu, 2002-08-15 at 08:30, Chris Picton wrote:
> 
> On Wed, 2002-08-14 at 19:14, Gustavo Giráldez wrote:
> > 
> 
> > > 
> > > This file is in /usr/lib/bonobo/servers.
> > > 
> > 
> > I'm not sure, but this looks right.  Try:
> > 
> > $ bonobo-activation-run-query "repo_ids.has('IDL:GNOME/Vertigo/PanelAppletShell:1.0')"
> > 
> > to see if bonobo-activation-server is picking up your server file.  You
> > should get back your applet's OAFIID (among the other applets).  The
> > full query (as used by gnome-panel) is:
> > 
> > "has_all (repo_ids, ['IDL:Bonobo/Control:1.0',
> >                     'IDL:GNOME/Vertigo/PanelAppletShell:1.0']) &&
> >  defined (panel:icon) && defined (panel:category)"
> > 
> > so you can try that too the be sure.
> 
> Thanks for the reply.  Neither of these commands returns my applet's
> OAFIID.  All I did was copy the .server file there.  Is there anything
> else I need to do?

Taking a second look at your previous message, it seems you're missing
the opening <oaf_info> tag at the beginning of the file.  It's a good
idea to use xmllint to detect these kind of errors.

Cheers,
Gustavo





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