User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060506 Firefox/1.5.0.3 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060506 Firefox/1.5.0.3 When selecting a file and Right-click on it, then choose "Open with Other Application ..." dialog "Open with" appers There an option to remove the Recommended Applications is needed "desperately" for Example: I choose to open a .text1 file with Mousepad but instead of mousepad %f I type qpad %f where qpad is something a different program (not an editor) I cannot remove the qpad entry from the list afterwards, although I can add new entry with correct command This is something annoying rather than a BUG! Some geeks might even call it a feature (colleagues of mine) But I think it is important to have a "remove/delete" button there (only for recommended application list, because there is other applications list, which I think should not be accessible for modification by users! Reproducible: Always Steps to Reproduce:
Created attachment 553 Possible patch How about this one?
(In reply to comment #1) > Created an attachment (id=553) [edit] > Possible patch > > How about this one? > Proposed patch worked for me! (applied on version: Thunar-0.3.1svn-r21486) It seems to be a perfect functionality! I can see that the [- Remove Launcher] ONLY deletes the custom actions asssigned by the USER, not by the mime shared data, which is GREAT! I think that is all. I hope what I described as success is really the purpose of the patch! Thank you for the quick responce and keep up the good work!
Err, don't just resolve bugs. It'll be marked as fixed once its committed.
Committed with revision 21710. 2006-05-17 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-mime-application.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new method thunar_vfs_mime_application_is_usercreated(), which tells whether a given mime application was automatically created by the user via the "custom command" box in the file manager(s). * thunar-vfs/thunar-vfs-mime-database.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new method thunar_vfs_mime_database_remove_application() to remove a previously added mime application (user-created) from the mime database. * thunar/thunar-chooser-dialog.c, thunar/thunar-chooser-model.{c,h}: Add a context menu to the chooser dialog with a "Remove Launcher" item, which allows to remove previously added (user-created) application launchers from the mime database. Bug #1814.