[Portland-bugs] [Bug 10042] New: xdg-mime doesn't check
defaults.list correctly
bugzilla-daemon at annarchy.freedesktop.org
bugzilla-daemon at annarchy.freedesktop.org
Tue Feb 20 07:09:13 PST 2007
http://bugs.freedesktop.org/show_bug.cgi?id=10042
Summary: xdg-mime doesn't check defaults.list correctly
Product: Portland
Version: 1.0
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
AssignedTo: portland-bugs at lists.freedesktop.org
ReportedBy: fcrozat at mandriva.com
version 1.0.1 of xdg-mime doesn't check defaults.list correctly :
it searchs for the first .desktop keyfile for a particular mimetype, without
checking if this .desktop is available on the system.
The attached patch fixes this issue.
It isn't perfect, since xdg-mime doesn't checks if .desktop if valid (ie if
Exec= is pointing to a existing executable file) or if it can be used (ie not
in Hidden=true) but it is better.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Portland-bugs
mailing list