equal
deleted
inserted
replaced
2084 // Calling ShowTypedQueryAndSendL to show the write query. Different menu options are |
2084 // Calling ShowTypedQueryAndSendL to show the write query. Different menu options are |
2085 // be shown depending on wether the RD_UNIFIED_EDITOR flag is defined ot not, but we don't |
2085 // be shown depending on wether the RD_UNIFIED_EDITOR flag is defined ot not, but we don't |
2086 // need care about the flag here. |
2086 // need care about the flag here. |
2087 TUid uid; |
2087 TUid uid; |
2088 SetToolbarState(ELogsHideItemsAndDrawOnlyBackground, EFalse); |
2088 SetToolbarState(ELogsHideItemsAndDrawOnlyBackground, EFalse); |
2089 |
|
2090 TRAPD(err, |
2089 TRAPD(err, |
2091 if (aCommandId == ELogsCmdMenuSendUi) // with ELogsCmdMenuSendUi show query |
2090 if (aCommandId == ELogsCmdMenuSendUi) // with ELogsCmdMenuSendUi show query |
2092 { |
2091 { |
2093 uid = LogsAppUi()->SendUiL()->ShowTypedQueryL(CSendUi::EWriteMenu, messageData, capabilities, servicesToDim ); |
2092 uid = LogsAppUi()->SendUiL()->ShowTypedQueryL(CSendUi::EWriteMenu, NULL, capabilities, servicesToDim ); |
2094 } |
2093 } |
2095 else if (aCommandId == ELogsCmdToolBarSendUi) // with ELogsCmdToolBarSendUi dont show query |
2094 else if (aCommandId == ELogsCmdToolBarSendUi) // with ELogsCmdToolBarSendUi dont show query |
2096 { |
2095 { |
2097 uid = KSenduiMtmUniMessageUid; |
2096 uid = KSenduiMtmUniMessageUid; |
2098 } |
2097 } |