mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Display special folder icons only in the "All associated + EXE/LNK" mode (Windows)
This commit is contained in:
parent
c072da45b5
commit
e573e66ec7
1 changed files with 3 additions and 4 deletions
|
|
@ -2205,10 +2205,9 @@ begin
|
|||
if IsDirectory or IsLinkToDirectory then
|
||||
begin
|
||||
{$IF DEFINED(MSWINDOWS)}
|
||||
if (IconsMode = sim_standart) or
|
||||
// Directory has special icon only if it has "read only" or "system" attributes
|
||||
// and contains desktop.ini file
|
||||
(not (DirectAccess and ((Attributes and FILE_ATTRIBUTE_ICON) <> 0) and mbFileExists(FullPath + '\desktop.ini'))) or
|
||||
if (IconsMode < sim_all_and_exe) or
|
||||
// Directory can has a special icon only when it has a "read only" or "system" attribute
|
||||
(not (DirectAccess and ((Attributes and FILE_ATTRIBUTE_ICON) <> 0))) or
|
||||
(ScreenInfo.ColorDepth < 16) then
|
||||
{$ELSEIF DEFINED(UNIX) AND NOT (DEFINED(DARWIN) OR DEFINED(HAIKU))}
|
||||
if (IconsMode = sim_all_and_exe) and (DirectAccess) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue