equal
deleted
inserted
replaced
26 #include "CGflmGlobalActionItem.h" |
26 #include "CGflmGlobalActionItem.h" |
27 #include "CFileManagerCommonDefinitions.h" |
27 #include "CFileManagerCommonDefinitions.h" |
28 #include "FileManagerDebug.h" |
28 #include "FileManagerDebug.h" |
29 #include "TFileManagerDriveInfo.h" |
29 #include "TFileManagerDriveInfo.h" |
30 #include "CFileManagerFeatureManager.h" |
30 #include "CFileManagerFeatureManager.h" |
31 #include <FileManagerEngine.rsg> |
31 #include <filemanagerengine.rsg> |
32 #include <StringLoader.h> |
32 #include <StringLoader.h> |
33 #include <pathinfo.h> |
33 #include <pathinfo.h> |
34 #ifdef RD_MULTIPLE_DRIVE |
34 #ifdef RD_MULTIPLE_DRIVE |
35 #include <driveinfo.h> |
35 #include <driveinfo.h> |
36 #endif // RD_MULTIPLE_DRIVE |
36 #endif // RD_MULTIPLE_DRIVE |
178 icon = EFileManagerMassStorageMainIcon; |
178 icon = EFileManagerMassStorageMainIcon; |
179 } |
179 } |
180 } |
180 } |
181 else if ( driveStatus & DriveInfo::EDriveUsbMemory ) |
181 else if ( driveStatus & DriveInfo::EDriveUsbMemory ) |
182 { |
182 { |
183 if ( !( driveStatus & DriveInfo::EDrivePresent ) ) |
|
184 { |
|
185 ERROR_LOG( "CFileManagerItemFilter::FilterItemL()-NotPresentUsbMemory" ) |
|
186 return EFalse; // Not present USB drive is not shown |
|
187 } |
|
188 icon = EFileManagerUsbMemoryMainIcon; |
183 icon = EFileManagerUsbMemoryMainIcon; |
189 } |
184 } |
190 else if ( driveStatus & DriveInfo::EDriveRemovable ) |
185 else if ( driveStatus & DriveInfo::EDriveRemovable ) |
191 { |
186 { |
192 icon = EFileManagerMemoryCardNotPresentMainIcon; |
187 icon = EFileManagerMemoryCardNotPresentMainIcon; |