// Author: Robert Roebling
// Purpose: Implement GNOME VFS support
// Created: 03/17/06
-// RCS-ID: $Id$
// Copyright: Robert Roebling
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
const wxArrayString& strExtensions,
const wxString& strDesc)
{
- int nIndex = AddToMimeData(strType, strIcon, entry, strExtensions, strDesc, true);
-
- if ( nIndex == wxNOT_FOUND )
- return false;
-
- if (m_mailcapStylesInited & wxMAILCAP_GNOME)
- {
- // User modificationt to the MIME database
- // are not supported :-)
- }
-
- return false;
+ return AddToMimeData
+ (
+ strType,
+ strIcon,
+ entry,
+ strExtensions,
+ strDesc,
+ true
+ ) != wxNOT_FOUND;
}
//----------------------------------------------------------------------------