Commit 2a3ece86 authored by Martin Fuchs's avatar Martin Fuchs Committed by Alexandre Julliard

- move ID_ABOUT_WINE into #ifdef __WINE__

- support for refresh in shell namespace windows
parent adaef111
......@@ -2386,11 +2386,11 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
case ID_NO_WARRANTY:
WineWarranty(Globals.hMainWnd);
break;
#endif
case ID_ABOUT_WINE:
ShellAbout(hwnd, RS(b2,IDS_WINE), RS(b1,IDS_WINEFILE), 0);
break;
#endif
case ID_ABOUT:
ShellAbout(hwnd, RS(b1,IDS_WINEFILE), NULL, 0);
......@@ -3729,7 +3729,15 @@ static void refresh_child(ChildWnd* child)
scan_entry(child, &child->root.entry, 0, child->hwnd);
entry = read_tree(&child->root, path, NULL, drv, child->sortOrder, child->hwnd);
#ifdef _SHELL_FOLDERS
if (child->root.entry.etype == ET_SHELL)
entry = read_tree(&child->root, NULL, get_path_pidl(path,child->hwnd), drv, child->sortOrder, child->hwnd);
else
#endif
entry = read_tree(&child->root, path, NULL, drv, child->sortOrder, child->hwnd);
if (!entry)
entry = &child->root.entry;
insert_entries(&child->left, child->root.entry.down, NULL, TF_ALL, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment