menu building
Brian J. Tarricone
brian at tarricone.org
Tue Aug 18 01:53:46 CEST 2009
On 08/17/2009 04:19 PM, Alex Samad wrote:
> Hi
>
> having some problem around building menu's with the new system, i have
> something like this
>
>
> <Menu>
> <Name>Work</Name>
> <Include>
> <Category>Alex-work</Category>
> </Include>
>
> <Separator/>
> <Menu>
> <Name>URL</Name>
> <Include>
> <And>
> <Category>Alex-work</Category>
> <Category>Alex-url</Category>
> </And>
> </Include>
>
> </Menu>
> </menu>
>
>
> I want items that are Alex-work,Alex-url to only turn up in the URL
> section not the top level, but I tried
>
>
> <Include>
> <And>
> <Category>Alex-work</Category>
> <not> <Category>Alex-url</Category> </not>
> </And>
> </Include>
>
>
> but that fails completely
>
>
> Any idea how to get it to work ?
I'm not sure, but maybe try putting the <Include> block for the toplevel
*below* the submenu's <Menu> element?
(Oh, and your <Not> example doesn't work because it's <Not>, not <not>.
Case matters.)
-brian
More information about the Xfce
mailing list