[Portland-bugs] [Bug 15828] New: xdg-mime should try gvfs-info before gnomevfs-info

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 5 02:50:42 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15828

           Summary: xdg-mime should try gvfs-info before gnomevfs-info
           Product: Portland
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: pelle at debian.org


Since GVFS has replaced GnomeVFS in Gnome 2.22, I think xdg-mime should try to
use gvfs-info if it exists before trying gnomevfs-info. The utilities are
similar, but the output is a bit different, so it must be parsed differently.

Something like:
gvfs-info -a standard::content-type "$file" | grep 'standard::content-type:' |
cut -d' ' -f4


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Portland-bugs mailing list