2607 { |
2607 { |
2608 ret = ETrue; |
2608 ret = ETrue; |
2609 } |
2609 } |
2610 if ( ret ) |
2610 if ( ret ) |
2611 { |
2611 { |
2612 #ifdef RD_MULTIPLE_DRIVE |
|
2613 HBufC* text = iEngine.GetFormattedDriveNameLC( |
|
2614 aDrive, |
|
2615 R_QTN_MEMC_MULTIPLE_MEMC_READ_ONLY ); |
|
2616 FileManagerDlgUtils::ShowErrorNoteL( *text ); |
|
2617 CleanupStack::PopAndDestroy( text ); |
|
2618 #else // RD_MULTIPLE_DRIVE |
|
2619 FileManagerDlgUtils::ShowErrorNoteL( |
2612 FileManagerDlgUtils::ShowErrorNoteL( |
2620 R_QTN_MEMC_MEMORYCARD_READ_ONLY ); |
2613 R_QTN_MEMC_MEMORYCARD_READ_ONLY ); |
2621 #endif // RD_MULTIPLE_DRIVE |
|
2622 } |
2614 } |
2623 |
2615 |
2624 return ret; |
2616 return ret; |
2625 } |
2617 } |
2626 |
2618 |
2685 msgSize = Int64ToInt( iEngine.GetFileSizesL( *indexArray ) ); |
2677 msgSize = Int64ToInt( iEngine.GetFileSizesL( *indexArray ) ); |
2686 } |
2678 } |
2687 CleanupStack::PopAndDestroy( indexArray ); |
2679 CleanupStack::PopAndDestroy( indexArray ); |
2688 TSendingCapabilities caps( |
2680 TSendingCapabilities caps( |
2689 0, msgSize, TSendingCapabilities::ESupportsAttachments ); |
2681 0, msgSize, TSendingCapabilities::ESupportsAttachments ); |
2690 sendUi.AddSendMenuItemL( aMenuPane, pos, EFileManagerSend, caps ); |
2682 TBool addMenuResult = EFalse; |
2691 aMenuPane.SetItemSpecific(EFileManagerSend, ETrue); |
2683 sendUi.AddSendMenuItemToMenuPaneL( addMenuResult, aMenuPane, pos, EFileManagerSend, caps ); |
|
2684 // EFileManagerSend is added by CSendUI, existence checking |
|
2685 // should be taken before setting the properties of command. |
|
2686 // Try to set properties of a none-existing command will cause panic. |
|
2687 if ( addMenuResult ) |
|
2688 { |
|
2689 aMenuPane.SetItemSpecific( EFileManagerSend, ETrue ); |
|
2690 } |
2692 } |
2691 } |
2693 |
2692 |
2694 // ------------------------------------------------------------------------------ |
2693 // ------------------------------------------------------------------------------ |
2695 // CFileManagerViewBase::DeleteStatusNotOk |
2694 // CFileManagerViewBase::DeleteStatusNotOk |
2696 // |
2695 // |