summaryrefslogtreecommitdiff
path: root/legacy/efreet/src/tests/data/test.menu
blob: 7ae21ff03f5dd0a929556fbfe10684d9aa8b1496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE Menu PUBLIC 
        "-//freedesktop//DTD Menu 1.0//EN"
        "http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">

<Menu>
  <Name>Applications</Name>
  <Directory>Applications.directory</Directory>

  <DefaultAppDirs/>
  <DefaultDirectoryDirs/>

  <MergeDir>applications-merged</MergeDir>

  <LegacyDir>/usr/share/applnk</LegacyDir>

  <DefaultLayout>
    <Merge type="menus"/>
    <Merge type="files"/>
    <Separator/>
    <Menuname>More</Menuname>
  </DefaultLayout>

  <Move> 
    <Old>Foo</Old> 
    <New>Bar</New> 
    <Old>Foo2</Old> 
    <New>Bar2</New> 
  </Move>  

  <Menu> 
    <Name>Preferences</Name> 
    <Directory>Preferences.directory</Directory> 
    <MergeFile>preferences.menu</MergeFile> 
  </Menu> 

  <Menu> 
    <Name>Office</Name> 
    <Directory>Office.directory</Directory> 
    <Include> 
      <Category>Office</Category> 
    </Include> 
    <Exclude> 
      <Filename>foo.desktop</Filename> 
      <And>
        <Not>
          <Filename>bar.desktop</Filename>
        </Not>
      </And>
    </Exclude> 
  </Menu> 
</Menu>