menu-spec: Excluded items are Unllocated
Waldo Bastian
bastian at kde.org
Wed Dec 8 15:55:02 EET 2004
On Wednesday 08 December 2004 14:32, you wrote:
> > I can confirm your observations. In the KDE menu editor I explicitly
> > exclude deleted items from the default "OnlyUnallocated" menu in
> > addition. That's rather hackish.
> >
> > Maybe we can add an attribute to the exclude tag to indicate that we
> > really don't want this entry around, and that it should be considered
> > "allocated to this menu but not shown"
>
> Well, we could say that items which match an <Include> rule are
> "allocated" whether or not they are later excluded by an <Exclude> rule.
> If the goal of <OnlyUnAllocated/> is to catch items that don't fit in
> any other category, then I think that would work fine.
Hmm... so
<Include>
<And><Category>foo</Category><Not><Category>bar</Category></Not></And>
</Include>
would not allocate the "bar" items and
<Include>
<And><Category>foo</Category></And>
</Include>
<Exclude>
<And><Category>bar</Category></And>
</Exclude>
would allocate the "bar" items then?
I guess that would work.
Cheers,
Waldo
--
bastian at kde.org | Free Novell Linux Desktop 9 Evaluation Download
bastian at suse.com | http://www.novell.com/products/desktop/eval.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20041208/e2de2dce/attachment.pgp
More information about the xdg
mailing list