[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    Re: [kde-linux] Editing the K menu
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2005-07-29 8:29:21
Message-ID: 42E9E8E1.3060104 () acm ! org
[Download RAW message or body]

Marcelo Amorim wrote:
> Hi!
> I followed these tips and I created the menu with my
> appliction, but I still not include a sub-menu inside
> the new menu.
> How can I do that?
> The files I created are:
> 
> amorim.desktop
> 
> [Desktop Entry]
> Encoding=UTF-8
> Name=Arq.desktop
> Comment=ModHRM
> Exec=/usr/bin/teste.sh
> Icon=teste.png
> Terminal=false
> Type=Application
> Categories=Teste
> -----------------------
> amorim.menu
> <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu
> 1.0//EN"
>   
> "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
> 
> <Menu>
>         <Menu>
>                 <Name>MAmorim_app_merged</Name>
>                
> <Directory>amorim.directory</Directory>
>                 <Include>
>                         <Category>Teste</Category>
>                 </Include>
>         </Menu>
> </Menu>
> 
> ---------------------
> amorim.directory
> [Desktop Entry]
> Type=Directory
> Icon=package
> Name=arq.directory

Yes, I think I added a submenu also.  Just nest them as in the attached.

-- 
JRT

["xwp-office.menu" (text/html)]

<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
  "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

<Menu>
	<Menu>
		<Name>Office/WordPerfect</Name>
		<Directory>xwp-wp.directory</Directory>
		<Include>
			<Category>X-xwp</Category>
		</Include>
		<Menu>
			<Name>Utilities</Name>
			<Directory>xwp-Utilities.directory</Directory>
			<Include>
				<Category>X-xwp-utilities</Category>
			</Include>
		</Menu>
	</Menu>
</Menu>


___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic