Bug 11383

Summary: xdg-mime query filetype doesn't work under xfce
Product: Portland Reporter: Per Olofsson <pelle>
Component: xdg-utilsAssignee: Fathi Boudra <fabo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: pablo
Version: 1.0   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Per Olofsson 2007-06-26 13:53:41 UTC
Hi,

In the case block at line 717 in xdg-mime, there is no case for xfce:

case "$DE" in
        kde)
        info_kde "$filename"
        ;;

        gnome)
        info_gnome "$filename"
        ;;

        generic)
        info_generic "$filename"
        ;;
    esac

Thus, "xdg-mime query filetype" doesn't work under Xfce.

http://bugs.debian.org/430654
Comment 1 Waldo Bastian 2007-06-26 22:24:37 UTC
Indeed, changing "generic)" to "*)" should fix.
Comment 2 Per Olofsson 2008-05-05 02:58:07 UTC
Hi, anybody going to apply this fix?
Comment 3 Fathi Boudra 2009-07-26 08:56:31 UTC
Committed in CVS revision 1.47
Fix xdg-mime query filetype on XFCE
Comment 4 Pablo Castellano (pablog) 2010-01-22 10:45:21 UTC
According to last comment, this issue has been fixed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.