summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Wauthy <pollux@xfce.org>2004-11-28 18:14:01 +0000
committerJean-François Wauthy <pollux@xfce.org>2004-11-28 18:14:01 +0000
commit7f12760f18c4d833fd75fddea43fba2ab50ecd1c (patch)
tree8a4ef8d9a1d2ac0894a8d8fc18c584ae59a5a6b5
parentb466790d4de741350fea294e08a8868fdcb50529 (diff)
downloadxfdesktop-7f12760f18c4d833fd75fddea43fba2ab50ecd1c.tar.gz
update ES menu file
(Old svn revision: 7988)
-rw-r--r--menu.xml.es134
1 files changed, 68 insertions, 66 deletions
diff --git a/menu.xml.es b/menu.xml.es
index 49d22283..daf2825f 100644
--- a/menu.xml.es
+++ b/menu.xml.es
@@ -1,92 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE xfdesktop-menu [
- <!ENTITY menu2 SYSTEM "menu2.xml">
-]>
-
+<!DOCTYPE xfdesktop-menu>
<!--
- Explanantion of XFce 4 menu file:
+ Explanantion of Xfce 4 menu file:
=================================
- Here we will try to explain the format of the menu file. Look at the
- actual menu below for the real examples.
+ Here we will try to explain the format of the menu file. Look at the
+ actual menu below for the real examples. You shouldn't really need to
+ edit this manually; check out xfce4-menueditor instead.
-->
-
<!-- Obviously, this is how you make a comment ;-) -->
-
<!--
+ Everything is between exactly one pair of
<xfdesktop-menu></xfdesktop-menu> tags.
+ Applications:
- <app name="Name in menu" cmd="Command to run" term="no" visible="yes" />
- 'term' determines if the program needs a terminal to run
- Only 'name' and 'cmd' are required.
+ <app name="Name in menu" cmd="Command to run" term="false"
+ icon="iconfile" snotify="false" visible="true" />
+ The 'term' attribute determines if the program needs a terminal to run,
+ and 'snotify' sets whether or not the program supports startup
+ notification. You can set an icon to be displayed next to the item with
+ the 'icon' attribute. Only 'name' and 'cmd' are required.
+ Separators:
- <separator/>
+ <separator visible="true" />
+ Creates a horizontal separator. The 'visible' attribute is optional.
+ Submenus:
- <menu name="Name in menu" visible="yes"></menu>
- Only 'name' is required.
- Between the menu tags you can define more applications, separators and
- menus.
+ <menu name="Name in menu" icon="iconfile" visible="true"></menu>
+ Only 'name' is required, but you can also set an icon to be displayed using
+ the 'icon' attribute. Between the menu tags you can define more
+ applications, separators and menus.
+ Titles
- <title name="Name in menu" />
- Creates an insensitive menu title
+ <title name="Name in menu" icon="iconfile" visible="true" />
+ Creates an insensitive menu title. You can even add an optional icon to
+ the title if you'd like.
+ Including other files:
- Other files can be included by using an xml trick. This is a little bit
- complicated.
- First you have to define a so called entity in the file header. See above,
- where we define a 'menu2' entity to point to a "menu2.xml" file.
- Then you can use '&entityname;' anywhere in the menu file and it will be
- replaced with the contents of the file the entity points to.
- This can be useful for example if you make a script that generates a gnome
- menu and put it in a separate file.
+ <include type="file" src="menu2.xml" visible="true" />
+ Includes the file menu2.xml. A relative path is assumed to be rooted at
+ ~/.xfce4/. An absolute path will be treated as such.
+ + Including an autogenerated system menu:
+ <include type="system" style="simple" unique="true" visible="true" />
+ Includes a system menu. style can be "simple" or "multilevel". If unique
+ is set to "false", multiple menu items will be generated if the app
+ appears in multiple categories.
-->
<xfdesktop-menu>
- <title name="Desktop Menu" visible="yes" />
- <separator/>
- <app name="Ejecutar programa..." cmd="xfrun4"/>
- <separator/>
- <app name="Terminal" cmd="xfterm4" />
- <app name="Manejador de archivos" cmd="xffm"/>
- <app name="Navegador de internet" cmd="mozilla"/>
- <separator/>
- <menu name="Configuracion" visible="yes">
- <app name="Administrador..." cmd="xfce-setting-show"/>
- <app name="Fondo de pantalla..." cmd="xfce-setting-show backdrop"/>
-<!--
- <app name="Background" cmd="xfce-setting-show backdrop"/>
- <app name="Workspaces" cmd="xfce-setting-show workspaces"/>
- <app name="File manager (xffm)" cmd="xfce-setting-show xffm"/>
- <app name="User interface (gtk+)" cmd="xfce-setting-show ui"/>
- <app name="Icon box" cmd="xfce-setting-show xfibx"/>
- <app name="Mouse" cmd="xfce-setting-show mouse"/>
- <app name="Taskbar" cmd="xfce-setting-show taskbar"/>
- <app name="Keyboard" cmd="xfce-setting-show keyboard"/>
- <app name="Window manager" cmd="xfce-setting-show xfwm4"/>
- <app name="Margins" cmd="xfce-setting-show xfwm_margins"/>
- <app name="Panel" cmd="xfce-setting-show xfce"/>
--->
- </menu>
+
+ <title name="Desktop Menu" icon="xfce4-backdrop"/>
+
+ <separator/>
+
+ <app name="Ejecutar Programa..." cmd="xfrun4" icon="gnome-fs-executable"/>
+
+ <separator/>
+
+ <app name="Terminal" cmd="xfterm4 -bg black -fg white" icon="gnome-terminal" visible="true"/>
+ <app name="Manejador de archivos (xffm)" cmd="xffm" icon="file-manager"/>
+ <app name="Navegador de Internet" cmd="mozilla" icon="gnome-globe" visible="true"/>
+
+ <separator/>
+
+ <menu name="Configuracion" icon="gnome-settings">
+ <app name="Administrador de configuracion" cmd="xfce-setting-show" icon="gnome-settings" visible="true"/>
+ </menu>
+
+ <separator visible="true"/>
+
+ <!--
+ The next line includes the autogenerated menu at the current level. If
+ you want, you can put this in its own submenu.
+ -->
+ <include type="system" unique="true" visible="true"/>
+
+ <!--
+ Uncomment the following line (and comment the above) if you would rather
+ include a separate menu file instead of using the autogenerated menu.
+ -->
+ <!-- <include type="file" src="menu2.xml"/> -->
+
<separator/>
- <app name="Ayuda" cmd="xfhelp4"/>
- <!-- <separator/> -->
- <!-- Set visible to yes to use this item.
- This will exit the desktop manager. If you also put
- 'exec xfdesktop' at the end of your ~/.xinitrc, this menu item can be
- used to exit the X session.
- -->
- <builtin name="Salir" cmd="quit" visible="no"/>
- <!-- Example on how to include a file:
- 1) declare an ENTITY in the DOCTYPE tag (see above)
- 2) include entity in file:
- -->
+
+ <app name="Ayuda" cmd="xfhelp4" icon="gnome-help"/>
+ <app name="Acerca de Xfce" cmd="xfce4-about" icon="gnome-info"/>
<!--
- &menu2;
+ This will cause xfce4-session to quit, after first displaying a log-out
+ dialog box. If xfce4-session isn't running, it will quit xfdesktop.
-->
-</xfdesktop-menu>
+ <builtin name="Salir" cmd="quit" icon="gnome-logout"/>
+</xfdesktop-menu>