summaryrefslogtreecommitdiff
path: root/menu.xml.ta
diff options
context:
space:
mode:
authorJasper Huijsmans <jbhuijsmans@home.nl>2003-09-30 14:10:47 +0000
committerJasper Huijsmans <jbhuijsmans@home.nl>2003-09-30 14:10:47 +0000
commit724ecf031f8a979f821f416c6432fb21bea453ba (patch)
tree465ba1262d9830d3c133d351a1c1335259c768ed /menu.xml.ta
parent6a0bd48bd6d23561d5d942a532d35b3795aa823e (diff)
downloadxfdesktop-724ecf031f8a979f821f416c6432fb21bea453ba.tar.gz
Add menu.xml.ta. Got left out previously. Oh, the joy of branches ;-)
(Old svn revision: 7403)
Diffstat (limited to 'menu.xml.ta')
-rw-r--r--menu.xml.ta92
1 files changed, 92 insertions, 0 deletions
diff --git a/menu.xml.ta b/menu.xml.ta
new file mode 100644
index 00000000..70f60a5b
--- /dev/null
+++ b/menu.xml.ta
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE xfdesktop-menu [
+ <!ENTITY menu2 SYSTEM "menu2.xml">
+]>
+
+<!--
+ 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.
+-->
+
+<!-- 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.
+
+ + Separators:
+ <separator/>
+
+ + 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.
+
+ + Titles
+ <title name="Name in menu" />
+ Creates an insensitive menu title
+
+ + 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.
+
+-->
+<xfdesktop-menu>
+ <title name="கணிமேசை பட்டி" visible="yes" />
+ <separator/>
+ <app name="இன்நிரலை இயக்குக..." cmd="xfrun4"/>
+ <separator/>
+ <app name="முனையம்" cmd="xfterm4" />
+ <app name="கோப்பு மேலாளர் (xffm)" cmd="xffm"/>
+ <app name="வலை மேலோடி" cmd="mozilla"/>
+ <separator/>
+ <menu name="அமைப்புகள்" visible="yes">
+ <app name="அனைத்தும்..." cmd="xfce-setting-show"/>
+ <app name="கணிமேசை ஓவியம்..." 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>
+ <separator/>
+ <app name="உதவி" 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="Quit" 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:
+ -->
+ <!--
+ &menu2;
+ -->
+</xfdesktop-menu>
+