~xubuntu-dev/xfdesktop/lucid

« back to all changes in this revision

Viewing changes to menu.xml.pl

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2009-04-19 19:14:40 UTC
  • mfrom: (1.3.1 upstream) (5.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090419191440-txz2l0r2b575a8wg
Tags: 4.6.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<!DOCTYPE xfdesktop-menu>
3
 
 
4
 
<!--
5
 
     Explanantion of Xfce 4 menu file:
6
 
     =================================
7
 
     Here we will try to explain the format of the menu file.  Look at the
8
 
     actual menu below for the real examples.  You shouldn't really need to
9
 
     edit this manually; check out xfce4-menueditor instead.
10
 
-->
11
 
 
12
 
<!-- Obviously, this is how you make a comment ;-) -->
13
 
 
14
 
<!--
15
 
 
16
 
  + Everything is between exactly one pair of
17
 
    <xfdesktop-menu></xfdesktop-menu> tags.
18
 
 
19
 
  + Applications:
20
 
    <app name="Name in menu" cmd="Command to run" term="false"
21
 
         icon="iconfile"  snotify="false" visible="true" />
22
 
    The 'term' attribute determines if the program needs a terminal to run,
23
 
    and 'snotify' sets whether or not the program supports startup
24
 
    notification.  You can set an icon to be displayed next to the item with
25
 
    the 'icon' attribute.  Only 'name' and 'cmd' are required.
26
 
 
27
 
  + Separators:
28
 
    <separator visible="true" />
29
 
    Creates a horizontal separator.  The 'visible' attribute is optional.
30
 
 
31
 
  + Submenus:
32
 
    <menu name="Name in menu" icon="iconfile" visible="true"></menu>
33
 
    Only 'name' is required, but you can also set an icon to be displayed using
34
 
    the 'icon' attribute.  Between the menu tags you can define more
35
 
    applications, separators and menus.
36
 
 
37
 
  + Titles
38
 
    <title name="Name in menu" icon="iconfile" visible="true" />
39
 
    Creates an insensitive menu title.  You can even add an optional icon to
40
 
    the title if you'd like.
41
 
 
42
 
  + Including other files:
43
 
    <include type="file" src="menu2.xml" visible="true" />
44
 
    Includes the file menu2.xml.  A relative path is assumed to be rooted at
45
 
    ~/.config/xfce4/desktop/.  An absolute path will be treated as such.
46
 
 
47
 
  + Including an autogenerated system menu:
48
 
    <include type="system" style="simple" unique="true" visible="true" />
49
 
    Includes a system menu.  style can be "simple" or "multilevel".  If unique
50
 
    is set to "false", multiple menu items will be generated if the app
51
 
    appears in multiple categories.
52
 
-->
53
 
 
54
 
<xfdesktop-menu>
55
 
 
56
 
        <title name="Menu Pulpitu" icon="xfce4-backdrop"/>
57
 
 
58
 
        <separator/>
59
 
 
60
 
        <app name="Uruchom Program..." cmd="xfrun4" icon="gnome-fs-executable"/>
61
 
 
62
 
        <separator/>
63
 
 
64
 
        <app name="Terminal" cmd="xfterm4" icon="gnome-terminal"/>
65
 
        <app name="Menadżer Plików" cmd="thunar" icon="file-manager"/>
66
 
        <app name="Przeglądarka internetowa" cmd="xfbrowser4" icon="gnome-globe"/>
67
 
 
68
 
        <separator/>
69
 
 
70
 
        <menu name="Ustawienia" icon="gnome-settings">
71
 
                <app name="Ustawienia" cmd="xfce-setting-show" snotify="true" icon="gnome-settings"/>
72
 
        </menu>
73
 
 
74
 
        <separator/>
75
 
 
76
 
        <!--
77
 
          The next line includes the autogenerated menu at the current level.  If
78
 
          you want, you can put this in its own submenu.
79
 
        -->
80
 
        <include type="system" style="simple" unique="true"/>
81
 
 
82
 
        <!--
83
 
          Uncomment the following line (and comment the above) if you would rather
84
 
          include a separate menu file instead of using the autogenerated menu.
85
 
        -->
86
 
        <!-- <include type="file" src="menu2.xml"/> -->
87
 
 
88
 
    <separator/>
89
 
 
90
 
    <app name="Pomoc" cmd="xfhelp4" icon="gnome-help"/>
91
 
    <app name="O Xfce" cmd="xfce4-about" icon="gnome-info"/>
92
 
    <!--
93
 
      This will cause xfce4-session to quit, after first displaying a log-out
94
 
      dialog box.  If xfce4-session isn't running, it will quit xfdesktop.
95
 
    -->
96
 
    <builtin name="Wyjdź" cmd="quit" icon="gnome-logout"/>
97
 
 
98
 
</xfdesktop-menu>