mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[SHELL32] Return correct CSIDL for "Network Connections" menu item (#7938)
Fixes erroneous addition of "Properties" item into its context menu. - Addendum to0241b5c4e9and5aaead3fdb. CORE-20152 - Also remove FIXME for CORE-19477 which is fixed now. CORE-20151
This commit is contained in:
committed by
GitHub
parent
dbc0c37750
commit
be87e0099f
@@ -357,7 +357,7 @@ private:
|
||||
case IDM_MYDOCUMENTS: return CSIDL_MYDOCUMENTS;
|
||||
case IDM_MYPICTURES: return CSIDL_MYPICTURES;
|
||||
case IDM_CONTROLPANEL: return CSIDL_CONTROLS;
|
||||
case IDM_NETWORKCONNECTIONS: return CSIDL_NETWORK;
|
||||
case IDM_NETWORKCONNECTIONS: return CSIDL_CONNECTIONS;
|
||||
case IDM_PRINTERSANDFAXES: return CSIDL_PRINTERS;
|
||||
default: return 0;
|
||||
}
|
||||
@@ -371,9 +371,6 @@ private:
|
||||
|
||||
TRACE("csidl: 0x%X\n", csidl);
|
||||
|
||||
if (csidl == CSIDL_CONTROLS || csidl == CSIDL_NETWORK || csidl == CSIDL_PRINTERS)
|
||||
FIXME("This CSIDL %d wrongly opens My Computer. CORE-19477\n", csidl);
|
||||
|
||||
CComHeapPtr<ITEMIDLIST> pidl;
|
||||
SHGetSpecialFolderLocation(NULL, csidl, &pidl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user