On Sun, Oct 28, 2007 at 11:38:46PM +0000, Sam Morris wrote:
> On Sun, 2007-10-28 at 21:09 +0100, Bill Allombert wrote:
> > Hello Sam,
> > You will need to provide more data: how menu entries for programs
> > installed from Wine look like ? How do you generate debian-menu.menu ?

I would like to apologize for the long delay. I have been out of town
for some times and I forgot about it.

> Wine seems to save menu entries in ~/.menu/wine like so:
> 
>         ?package(local.Wine):needs=x11 section="/Wine/." title="Gtk-demo" 
> longtitle="" command="wine 
> 'Z:\\\\home\\\\sam\\\\src\\\\solar\\\\win32\\\\bin\\\\gtk-demo.exe' " 
>         
> /etc/menu-methods/xdg-desktop-entry-spec-apps turns this into a file at 
> ~/.local/share/applications/menu-xdg/X-Debian-Wine-gtk-demo.desktop:
> 
>         [Desktop Entry]
>         Type=Application
>         Encoding=UTF-8
>         Name=Gtk-demo
>         GenericName=
>         Comment=
>         Icon=
>         Exec=wine 'Z:\\home\\sam\\src\\solar\\win32\\bin\\gtk-demo.exe' 
>         Terminal=false
>         Categories=X-Debian-Wine;
> 
> The debian-menu.menu is generated in the normal way
> from /etc/menu-methods/menu-

There should be two debian-menu.menu files:
1) the system-wide at /var/lib/menu-xdg/menus/debian-menu.menu
2) the user-wide at ~/.config/menus/debian-menu.menu

The first one does not know about X-Debian-Wine because it does not
exist in the system menu.

The second one however should know about X-Debian-Wine. If it does then
gnome-menus is picking the wrong debian-menu.menu file.

> My original bug report was not quite clear, BTW. Menu entries such as
> the one above actually don't appear in the Debian menu at all!
> gnome-menus notices this, and allocates them to the Other menu. So maybe
> this should actually be a bug against gnome-menus... I'm not sure. It
> seems like it would be better to fix it at the level of menu-xdg so that
> the additional menu category would be seen by all consumers of the
> fdo-menu-spec data files.

It looks like a bug in gnome-menus or in the GNOME menu editors. The
support for the XDG menu draft in GNOME has always been very weak.

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to