[Users] [Bug 2850] New: Shared-mime-info specification is not followed
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Fri Jan 4 20:00:09 CET 2013
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2850
Bug ID: 2850
Summary: Shared-mime-info specification is not followed
Classification: Unclassified
Product: Claws Mail
Version: 3.9.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Other
Assignee: users at lists.claws-mail.org
Reporter: the_jk at yahoo.com
Created attachment 1216
-->
http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=1216&action=edit
Patch
The current implementation in src/procmime.c for reading the shared-mime-info
glob files only look in one single directory, a hardcoded default (/usr/share
on linux).
It should look in all of $XDG_DATA_HOME:$XDG_DATA_DIRS and fallback to defaults
$HOME/.local/share and /usr/share if those are not set combining the result as
it goes.
I attach patch that tries to do this.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Users
mailing list