Re: Oaf names & file structure



Miguel de Icaza <miguel helixcode com> writes:

> > if I were to do this, I would add the folowing in the .oafinfo file:
> > <oaf_attribute name="gnumeric-component" type="string" value="this-is-really-the-gnumeric-component">
> > And generate the folowing query:
> > 
> > ( has (repo_ids, "blahblae") AND gnumeric-component == "this-is-really-the-gnumeric-component" )
> 
> I could achieve the same, with the proposed new name:
> 
> bonobo_get_object ("GNOME:Gnumeric:Workbook")

Well, as long as this does some

        oaf_query (repo_ids.has('IDL:GNOME/Gnumeric/Workbook:1.0'))

internall, that's really nice.

However, if we could make the query moniker work again and add something like
this

        query:GNOME/Gnumeric/Workbook

as a shortcut for

        query:(repo_ids.has('IDL:GNOME/Gnumeric/Workbook:1.0'))

that'd be even better.

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)




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