equal
deleted
inserted
replaced
539 entry->AddAttributeL( KCaAttrMmcId, iMmcId ); |
539 entry->AddAttributeL( KCaAttrMmcId, iMmcId ); |
540 } |
540 } |
541 if ( iLibrary != KNullDesC ) |
541 if ( iLibrary != KNullDesC ) |
542 { |
542 { |
543 entry->AddAttributeL(KAttrWidgetLibrary, iLibrary); |
543 entry->AddAttributeL(KAttrWidgetLibrary, iLibrary); |
544 entry->SetFlags(entry->GetFlags() | ERemovable); |
|
545 if (WidgetScannerUtils::IsFileOnDrive( iLibrary, |
|
546 DriveInfo::EDefaultRom ) ) |
|
547 { |
|
548 entry->SetFlags( entry->GetFlags() & ~ERemovable ); |
|
549 } |
|
550 } |
544 } |
551 if ( iPath != KNullDesC ) |
545 if ( iPath != KNullDesC ) |
552 { |
546 { |
553 entry->AddAttributeL(KAttrWidgetPath, iPath); |
547 entry->AddAttributeL(KAttrWidgetPath, iPath); |
554 } |
548 } |