X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8a57f5ebfaa319e949085961b2e56d448125d61..cc209a518f106f39fde26f8bc8dd3d9d53dc5cc5:/src/unix/mimetype.cpp diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp index a2baf6f0e9..1bce2f3121 100644 --- a/src/unix/mimetype.cpp +++ b/src/unix/mimetype.cpp @@ -265,7 +265,7 @@ void wxMimeTypesManagerImpl::LoadXDGGlobs(const wxString& filename) wxArrayString exts; exts.Add( ext ); - AddToMimeData(mime, wxEmptyString, NULL, exts, wxEmptyString, false ); + AddToMimeData(mime, wxEmptyString, NULL, exts, wxEmptyString, true ); } } @@ -528,6 +528,7 @@ void wxMimeTypesManagerImpl::Initialize(int mailcapStyles, // Read MIME type - extension associations LoadXDGGlobs( "/usr/share/mime/globs" ); + LoadXDGGlobs( "/usr/local/share/mime/globs" ); // Load desktop files for XDG, and then override them with the defaults. // We will override them one desktop file at a time, rather