Bug 11383 - xdg-mime query filetype doesn't work under xfce
Summary: xdg-mime query filetype doesn't work under xfce
Status: RESOLVED FIXED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: 1.0
Hardware: All All
: medium normal
Assignee: Fathi Boudra
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-26 13:53 UTC by Per Olofsson
Modified: 2010-01-22 10:45 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.