linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #02277
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2276: Display folders using the correct icon on Win 7
------------------------------------------------------------
revno: 2276
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-10-29 18:31:08 +0200
message:
Display folders using the correct icon on Win 7
modified:
changelog.txt
win32/WinUtil.cpp
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'changelog.txt'
--- changelog.txt 2010-10-29 15:40:14 +0000
+++ changelog.txt 2010-10-29 16:31:08 +0000
@@ -24,6 +24,7 @@
* Separate IP and Country columns in users and connections lists (thanks iceman50)
* Support taskbar thumbnails and "Aero Peek" live previews on Win 7 (poy)
* Fix menu separators on Win 7 (poy)
+* [L#588224] Display folders using the correct icon on Win 7 (poy)
-- 0.770 2010-07-05 --
* [L#550300] Catch more potential file corruptions (thanks bigmuscle)
=== modified file 'win32/WinUtil.cpp'
--- win32/WinUtil.cpp 2010-10-24 18:06:17 +0000
+++ win32/WinUtil.cpp 2010-10-29 16:31:08 +0000
@@ -118,7 +118,7 @@
if(BOOLSETTING(USE_SYSTEM_ICONS)) {
SHFILEINFO fi;
- ::SHGetFileInfo(_T("."), FILE_ATTRIBUTE_DIRECTORY, &fi, sizeof(fi), SHGFI_ICON | SHGFI_SMALLICON
+ ::SHGetFileInfo(_T("./"), FILE_ATTRIBUTE_DIRECTORY, &fi, sizeof(fi), SHGFI_ICON | SHGFI_SMALLICON
| SHGFI_USEFILEATTRIBUTES);
dwt::Icon tmp(fi.hIcon);
fileImages->add(tmp);