mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
comments
svn path=/trunk/; revision=9116
This commit is contained in:
parent
ec66d1b6b9
commit
77fbf2134e
5 changed files with 10 additions and 10 deletions
|
@ -153,7 +153,7 @@ void FindProgramDlg::Refresh(bool delete_cache)
|
||||||
|
|
||||||
TCHAR buffer[1024];
|
TCHAR buffer[1024];
|
||||||
GetWindowText(GetDlgItem(_hwnd, IDC_FILTER), buffer, 1024);
|
GetWindowText(GetDlgItem(_hwnd, IDC_FILTER), buffer, 1024);
|
||||||
#ifndef __WINE__ ///@todo
|
#ifndef __WINE__ ///@todo _tcslwr() for Wine
|
||||||
_tcslwr(buffer);
|
_tcslwr(buffer);
|
||||||
#endif
|
#endif
|
||||||
_lwr_filter = buffer;
|
_lwr_filter = buffer;
|
||||||
|
@ -232,7 +232,7 @@ void FindProgramDlg::add_entry(const FPDEntry& cache_entry)
|
||||||
String lwr_path = cache_entry._path;
|
String lwr_path = cache_entry._path;
|
||||||
String lwr_name = cache_entry._entry->_display_name;
|
String lwr_name = cache_entry._entry->_display_name;
|
||||||
|
|
||||||
#ifndef __WINE__ ///@todo
|
#ifndef __WINE__ ///@todo _tcslwr() for Wine
|
||||||
_tcslwr((LPTSTR)lwr_path.c_str());
|
_tcslwr((LPTSTR)lwr_path.c_str());
|
||||||
_tcslwr((LPTSTR)lwr_name.c_str());
|
_tcslwr((LPTSTR)lwr_name.c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -172,7 +172,7 @@ bool FileTypeManager::is_exe_file(LPCTSTR ext)
|
||||||
|
|
||||||
const FileTypeInfo& FileTypeManager::operator[](String ext)
|
const FileTypeInfo& FileTypeManager::operator[](String ext)
|
||||||
{
|
{
|
||||||
#ifndef __WINE__ ///@todo
|
#ifndef __WINE__ ///@todo _tcslwr() for Wine
|
||||||
_tcslwr((LPTSTR)ext.c_str());
|
_tcslwr((LPTSTR)ext.c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -405,7 +405,7 @@ const Icon& IconCache::extract(LPCTSTR path, int idx)
|
||||||
{
|
{
|
||||||
CachePair key(path, idx);
|
CachePair key(path, idx);
|
||||||
|
|
||||||
#ifndef __WINE__ ///@todo
|
#ifndef __WINE__ ///@todo _tcslwr() for Wine
|
||||||
_tcslwr((LPTSTR)key.first.c_str());
|
_tcslwr((LPTSTR)key.first.c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -116,7 +116,7 @@ Entry* Entry::read_tree(const void* path, SORT_ORDER sortOrder, int scan_flags)
|
||||||
{
|
{
|
||||||
CONTEXT("Entry::read_tree()");
|
CONTEXT("Entry::read_tree()");
|
||||||
|
|
||||||
HCURSOR old_cursor = SetCursor(LoadCursor(0, IDC_WAIT));
|
WaitCursor wait;
|
||||||
|
|
||||||
Entry* entry = this;
|
Entry* entry = this;
|
||||||
|
|
||||||
|
@ -132,8 +132,6 @@ Entry* Entry::read_tree(const void* path, SORT_ORDER sortOrder, int scan_flags)
|
||||||
entry = found;
|
entry = found;
|
||||||
}
|
}
|
||||||
|
|
||||||
SetCursor(old_cursor);
|
|
||||||
|
|
||||||
return entry;
|
return entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ enum SCAN_FLAGS {
|
||||||
SCAN_EXTRACT_ICONS = 1,
|
SCAN_EXTRACT_ICONS = 1,
|
||||||
SCAN_DO_ACCESS = 2,
|
SCAN_DO_ACCESS = 2,
|
||||||
|
|
||||||
SCAN_ALL = 0,//@@3,
|
SCAN_ALL = 3,
|
||||||
|
|
||||||
SCAN_FILESYSTEM = 4
|
SCAN_FILESYSTEM = 4
|
||||||
};
|
};
|
||||||
|
|
|
@ -276,7 +276,9 @@ void FileChildWindow::set_curdir(Entry* entry)
|
||||||
|
|
||||||
ListBox_ResetContent(_right_hwnd);
|
ListBox_ResetContent(_right_hwnd);
|
||||||
_right->insert_entries(entry->_down);
|
_right->insert_entries(entry->_down);
|
||||||
_right->calc_widths(false);
|
|
||||||
|
_right->calc_widths(false); ///@todo make configurable (This call takes really _very_ long compared to all other processing!)
|
||||||
|
|
||||||
_right->set_header();
|
_right->set_header();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -601,7 +603,7 @@ void FileChildWindow::activate_entry(Pane* pane) ///@todo enable using <RETURN>
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!scanned_old) {
|
if (!scanned_old) {
|
||||||
pane->calc_widths(FALSE);
|
pane->calc_widths(false);
|
||||||
|
|
||||||
pane->set_header();
|
pane->set_header();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue