Service Menus

David Faure dfaure at trolltech.com
Mon May 19 18:18:54 BST 2003


On Monday 19 May 2003 19:03, Aaron J. Seigo wrote:
> On Sunday 18 May 2003 10:29, Waldo Bastian wrote:
> > On Monday 19 May 2003 07:57, Aaron J. Seigo wrote:
> > >  3) supports submenus in the Action menu. this is achieved by supporting
> > > the Categories .desktop field and using the first category (if any) as
> > > the submenu. an example servicemenu utilizing the submenu support is
> > > attached as well.
> >
> > Can you use another name for that field? It's confusing if the same field
> > has different semantics depending on context.
> 
> oh, sure.. that's easy to do.. i actually chose "Category" specifically
> because the servicemenu .desktop files don't use the Category entry, the
> Category entry is supposed to be used for grouping (as i understand it from
> the freedesktop.org drafts and discussions) and i didn't want to add yet
> another key into the namespace... i can easily change it back to what i had
> previously: Submenu =)

I would have used Category too, but if you respect Waldo's wish not to do that :),
then you'll have to use X-KDE- in front of the key, to be fully spec-compliant...

Anyway, I like your changes :)

-- 
David FAURE, faure at kde.org, sponsored by TrollTech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
Qtella users - stability patches at http://blackie.dk/~dfaure/qtella.html




More information about the kfm-devel mailing list