Author: hbelusca
Date: Thu Jan 7 14:04:07 2016
New Revision: 70527
URL:
http://svn.reactos.org/svn/reactos?rev=70527&view=rev
Log:
[SHELL32]: Nicely handle network drives in property dialog (and their icon). By Jared
Smudde. To be synced for 0.4.0. CORE-10779
Modified:
trunk/reactos/dll/win32/shell32/dialogs/drvdefext.cpp
Modified: trunk/reactos/dll/win32/shell32/dialogs/drvdefext.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/dialogs/…
==============================================================================
--- trunk/reactos/dll/win32/shell32/dialogs/drvdefext.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/dialogs/drvdefext.cpp [iso-8859-1] Thu Jan 7 14:04:07
2016
@@ -302,8 +302,9 @@
UINT IconId, TypeStrId = 0;
switch (DriveType)
{
+ case DRIVE_REMOVABLE: IconId = IDI_SHELL_3_14_FLOPPY; break;
case DRIVE_CDROM: IconId = IDI_SHELL_CDROM; TypeStrId = IDS_DRIVE_CDROM; break;
- case DRIVE_REMOVABLE: IconId = IDI_SHELL_3_14_FLOPPY; break;
+ case DRIVE_REMOTE: IconId = IDI_SHELL_NETDRIVE; TypeStrId = IDS_DRIVE_NETWORK;
break;
case DRIVE_RAMDISK: IconId = IDI_SHELL_RAMDISK; break;
default: IconId = IDI_SHELL_DRIVE; TypeStrId = IDS_DRIVE_FIXED;
}