MikoĊaj Zalewski mikolaj@zalewski.pl writes:
When creating the wineprefix, create a directory for the menu and a configuration file that enables this menu in the freedesktop.org menu structure. As suggested on wine-devel the menu directory is a subdirectory of ~/.wine, so if the user deletes it, all menu items created there will be automatically removed.
Is there something wrong with this patch?
That sort of desktop-specific code does not belong in wineprefixcreate. I'm not really convinced that this approach to menus is correct, but even if it is, it should be handled by wineshelllink and friends.