Only use text/xxx, skip application/xxx in MIME database
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -268,7 +268,8 @@ void wxMimeTypesManagerImpl::LoadXDGGlobs(const wxString& filename)
|
|||||||
wxArrayString exts;
|
wxArrayString exts;
|
||||||
exts.Add( ext );
|
exts.Add( ext );
|
||||||
|
|
||||||
AddToMimeData(mime, wxEmptyString, NULL, exts, wxEmptyString, true );
|
if (mime.Find( "application" ) != 0)
|
||||||
|
AddToMimeData(mime, wxEmptyString, NULL, exts, wxEmptyString, true );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user