mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
[SHELL32]: Nicely handle network drives in property dialog (and their icon). By Jared Smudde. To be synced for 0.4.0. CORE-10779
svn path=/trunk/; revision=70527
This commit is contained in:
parent
e28db0eef1
commit
b6c06cfb06
|
@ -302,8 +302,9 @@ CDrvDefExt::InitGeneralPage(HWND hwndDlg)
|
||||||
UINT IconId, TypeStrId = 0;
|
UINT IconId, TypeStrId = 0;
|
||||||
switch (DriveType)
|
switch (DriveType)
|
||||||
{
|
{
|
||||||
case DRIVE_CDROM: IconId = IDI_SHELL_CDROM; TypeStrId = IDS_DRIVE_CDROM; break;
|
|
||||||
case DRIVE_REMOVABLE: IconId = IDI_SHELL_3_14_FLOPPY; break;
|
case DRIVE_REMOVABLE: IconId = IDI_SHELL_3_14_FLOPPY; break;
|
||||||
|
case DRIVE_CDROM: IconId = IDI_SHELL_CDROM; TypeStrId = IDS_DRIVE_CDROM; break;
|
||||||
|
case DRIVE_REMOTE: IconId = IDI_SHELL_NETDRIVE; TypeStrId = IDS_DRIVE_NETWORK; break;
|
||||||
case DRIVE_RAMDISK: IconId = IDI_SHELL_RAMDISK; break;
|
case DRIVE_RAMDISK: IconId = IDI_SHELL_RAMDISK; break;
|
||||||
default: IconId = IDI_SHELL_DRIVE; TypeStrId = IDS_DRIVE_FIXED;
|
default: IconId = IDI_SHELL_DRIVE; TypeStrId = IDS_DRIVE_FIXED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue