* Merge from Debian experimental. Remaining Ubuntu change: - Added debian/patches/11_use-decimal-si-by-default.patch in order to comply with UnitsPolicy
wxMessageBox(_T("You are using a nightly development version of FileZilla 3, do not expect anything to work.\r\nPlease use the official releases instead.\r\n\r\n\
277
wxMessageBox(_T("You are using a nightly development version of FileZilla 3, do not expect anything to work.\r\nPlease use the official releases instead.\r\n\r\n\
278
278
Unless explicitly instructed otherwise,\r\n\
279
279
DO NOT post bugreports,\r\n\
280
280
DO NOT use it in production environments,\r\n\
444
444
445
445
// For each path, check for the resources
446
446
wxPathList::const_iterator node;
447
for (node = pathList.begin(); node != pathList.end(); node++)
447
for (node = pathList.begin(); node != pathList.end(); ++node)
448
448
{
449
449
wxString cur = *node;
450
450
if (FileExists(cur + fileToFind))
455
455
return cur + _T("/filezilla");
456
456
}
457
457
458
for (node = pathList.begin(); node != pathList.end(); node++)
458
for (node = pathList.begin(); node != pathList.end(); ++node)
459
459
{
460
460
wxString cur = *node;
461
461
if (FileExists(cur + _T("/..") + fileToFind))
464
464
return cur + _T("/../share/filezilla");
465
465
}
466
466
467
for (node = pathList.begin(); node != pathList.end(); node++)
467
for (node = pathList.begin(); node != pathList.end(); ++node)
468
468
{
469
469
wxString cur = *node;
470
470
if (FileExists(cur + _T("/../../") + fileToFind))
847
847
848
848
return res;
849
849
}
850
851
#if USE_CHUNKED_PROCESS_PENDING_EVENTS
852
void CFileZillaApp::ProcessPendingEvents()
853
{
854
// Code copied from wxAppConsole::ProcessPendingEvents, adapted to
855
// process only 100 events in one go.
856
#if wxUSE_THREADS
857
if ( !wxPendingEventsLocker )
858
return;
859
#endif
860
861
// ensure that we're the only thread to modify the pending events list
862
wxENTER_CRIT_SECT( *wxPendingEventsLocker );
863
864
if ( !wxPendingEvents )
865
{
866
wxLEAVE_CRIT_SECT( *wxPendingEventsLocker );
867
return;
868
}
869
870
// iterate until the list becomes empty or 100 events have been