Skip to content

freedesktop.org standards for submenus not honored #2180

@uberstudent

Description

@uberstudent

A menu file with a subcategory, such as below, is not honored in Cinnamon 1.8.

<Menu>
    <Name>ApplicationCategory</Name>
    <Directory>ApplicationCategory.directory</Directory>
    <Include>
     <And>
       <Category>ApplicationCategory</Category>
        <Not><Category>ApplicationSUBCategory</Category></Not>
      </And>
    </Include>
    <DefaultLayout inline="true">
      <Merge type="menus"/>
      <Merge type="files"/>
    </DefaultLayout>
    <Menu>
      <Name>ApplicationSUBCategory</Name>
      <Directory>ApplicationSUBCategory.directory</Directory>
      <Include>
        <Category>ApplicationSUBCategory</Category>
      </Include>
   </Menu>
 </Menu>

Not one of the sub-categories at http://standards.freedesktop.org/menu-spec/latest/apas02.html are honored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions