| Summary: | gvim: desktop file updated with MimeType | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sebastian Dröge <sebastian.droege> |
| Component: | New packages | Assignee: | Vim Maintainers <vim> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | joem |
| Priority: | High | Keywords: | Inclusion |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
gvim.desktop.diff
gvim.desktop.diff |
||
|
Description
Sebastian Dröge
2004-10-23 03:27:07 UTC
Created attachment 42452 [details, diff]
gvim.desktop.diff
as long as your are patching, why stop at just plain text files? I'd want it to do any sort of source files and probably other things that there are mime types for. Take a look in /usr/share/mime/text for a more complete list. Joe -- got a better example for me? Not being a Gnome user, I have only a rough idea of what that file does anyway... Closing this as needinfo. Please reopen if a decent list can be provided (can this be, er, borrowed from another distro?). Created attachment 47286 [details, diff]
gvim.desktop.diff
Gnome uses the information provided in .desktop files for many things. One of
them is deciding which applications are associated with mime types. Listing all
of these mime types in the gvim.desktop file will cause files that are off that
type to open in gvim by default. If more then one application is associated
with a mime type, the user can choose from a list of applications via a right
click menu.
In short, a users text/source/patch etc.. files will now open in gvim when they
click them.
Thanks Joe. Marking for inclusion in the next gvim bump. In, thanks. |