[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (Possible) menu code rewrite



On Wed, 2002-07-17 at 17:43, Sebastian Rittau wrote:
> On Wed, Jul 17, 2002 at 10:30:55AM -0300, Henrique de Moraes Holschuh wrote:
> 
> > Well, complexity is overrated. The menu syntax is very clean and very easy
> > to understand. I don't know about the .desktop syntax, though.
> 
> Just to give an example what everybody is talking about, here is a
> snippet from the pan.desktop file (stripped by a few translations):
> 
> [Desktop Entry]
> Name=Pan
> Name[da]=Pan nyhedslæser
> Name[de]=Pan
> Name[es]=Pan
> Comment=Pan, a Newsreader
> Comment[da]=Værktøj til læsning af nyhedsgrupper
> Comment[es]=Lector de noticias Pan
> Exec=pan 
> Icon=pan.png
> Terminal=0
> Type=Application
> 
that's for GNOME 1.x (and KDE 2.x I suppose). The new one (GNOME 2,
KDE3?) includes some extra bits:

[Desktop Entry]
_Name=Glade Interface Designer
_Comment=GTK+ 2.0 GUI builder
Exec=glade-2
Terminal=0
Type=Application
Icon=glade-2.png
Categories=Application;Development;

essentially, it's the categories section, which allows to just have all
files in a single directory instead of having to create the menu
structure on disk.

The conversation in xdg-list@ I mention in my last mail was also about
extending this file, to support more properties.

cheers


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: