On Sun, 2007-10-28 at 21:09 +0100, Bill Allombert wrote:
> On Sun, Oct 21, 2007 at 11:44:38AM +0100, Sam Morris wrote:
> > Package: menu-xdg
> > Version: 0.3
> > Severity: normal
> > 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > The generated debian-menu.menu file does not contain the X-Debian-Wine
> > category. This causes all menu entries for programs installed from Wine
> > to be pushed into the Other menu.
> 
> 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 ?

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-

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.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to