removed not doing anything and not compiling code from DoAssociation()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -116,18 +116,15 @@ bool wxGnomeVFSMimeTypesManagerImpl::DoAssociation(const wxString& strType,
|
|||||||
const wxArrayString& strExtensions,
|
const wxArrayString& strExtensions,
|
||||||
const wxString& strDesc)
|
const wxString& strDesc)
|
||||||
{
|
{
|
||||||
int nIndex = AddToMimeData(strType, strIcon, entry, strExtensions, strDesc, true);
|
return AddToMimeData
|
||||||
|
(
|
||||||
if ( nIndex == wxNOT_FOUND )
|
strType,
|
||||||
return false;
|
strIcon,
|
||||||
|
entry,
|
||||||
if (m_mailcapStylesInited & wxMAILCAP_GNOME)
|
strExtensions,
|
||||||
{
|
strDesc,
|
||||||
// User modificationt to the MIME database
|
true
|
||||||
// are not supported :-)
|
) != wxNOT_FOUND;
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user