Diff for review: Was: Menu spec: sorting

Heinrich Wendel h_wendel at cojobo.net
Sat Sep 13 19:35:27 EEST 2003


On Saturday 13 September 2003 18:13, Waldo Bastian wrote:
> On Thursday 31 July 2003 13:00, Waldo Bastian wrote:
> > There was a nice thread about menu-sorting and menu-inlining a while ago,
> > see https://www.redhat.com/archives/xdg-list/2003-January/msg00157.html
> >
> > I don't think it resulted in any actual changes to the spec though.
>
> I have prepared a patch for the menu-spec to include all kinds of layout
> hints based on previous discussion.
>
> I'm not sure if I have the terminology right... do tags have "parameters" ?
> Or are those things called different?
>
> The original proposal used "<Order>" elements, I have changed that to
> <Layout>.
>
> The original proposal suggested to use a "showInline" bool in the
> .directory file of the menu, I think it is more practical to define whether
> to inline or not as part of the layout definition.
>
> Heinrich suggested NotShowIfEmpty and ShowIfEmpty and I have added those
> in the form of a show_empty parameter for the Layout menu.
>
> My docbook code probably sucks layout wise. If anyone has suggestions for
> improvement I would appreciate that.
>
> Awaiting your feedback.

Looks good, but can you explain me the inline thing ;)

Can we also change
"One of the default merge directories included in the <DefaultMergeDirs> 
element."
to
"The default merge directory included in the <DefaultMergeDirs> element."
because i can't find any more dirs mentioned in the spec.

And we need to include some notes about the NotShowIn key.

>
> Cheers,
> Waldo
mfg, Heinrich



More information about the xdg mailing list