On Sun, Jul 19, 2009 at 12:23 PM, Emmanuel Maillardmahanuu@free.fr wrote:
But it's an external appplication, your desktop environment, that handle *.desktop file; wine just generate them...
As per the private email I sent. I could see that working if we can convince Alexandre of the need of an external helper application for OS X. Keeping the existing winemenubuilder code mostly as is and having it write xdg menus and associations would be pretty simple. We could just change a few lines to have it write xdg in ~/Library/Application Support/Wine/WineMenuBuilder
So don't choose ~/Applications but : /Applications/Wine or let's the user to choose if want an Applications folder in is Homedir.
The reason for using ~/Applications as opposed to /Applications is that Wine has no knowledge or real support for multi-user prefixes. Each .wine being local to the user that creates it will have their own applications, etc. If we write the menus to /Applications and another user logs in then they won't be able to run those applications.
Another good reason is that /Applications can only be written to by an administrative user using sudo.
James McKenzie