http://bugs.winehq.org/show_bug.cgi?id=25166
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |integration Status|UNCONFIRMED |NEW CC| |damjan.jov@gmail.com Component|-unknown |programs Ever Confirmed|0 |1 Severity|normal |enhancement
--- Comment #3 from Damjan Jovanovic damjan.jov@gmail.com 2010-11-17 03:29:04 CST --- Windows uses MIME types very little. Applications register with extensions, and MIME types for those extensions are optional. On the freedesktop.org side of things, applications register with MIME types. What Wine must do is scan the list of file types, discover/invent a MIME type, then register applications with the MIME types. Complicating matters is that a file can have multiple MIME types, and an application can open multiple MIME types too. So a right-click menu can easily list the same application multiple times, each time for a different MIME type. It would maybe be a good idea to change the "Open with" entries to "Microsoft Office PowerPoint (like a .ppt file)", "Microsoft Office PowerPoint (like a .txt file)", etc. so it's clearer what happens. There is no way to de-duplicate these, because we can't predict what different MIME types an arbitrary file will have.
Messing with prefixes is unlikely to duplicate MIME handler entries since they all go to ~/.local/share/applications where they'd overwrite each other instead of duplicating. If you disagree attach your ~/.local/share/applications.
Adding icons to the "Open with" menu is a good idea. I'll investigate when I have time.