--- a/messagingappbase/sendui/genericmtmplugin/src/genericmtmplugin.cpp Thu Dec 17 08:44:11 2009 +0200
+++ b/messagingappbase/sendui/genericmtmplugin/src/genericmtmplugin.cpp Thu Jan 07 12:45:05 2010 +0200
@@ -79,6 +79,7 @@
const TUint KSendUiFeatureSelectableEmail = 0x8;
const TUint KSeconds = 1000000;
+const TUid KMailTechnologyTypeUid = { 0x10001671 };
// ======== LOCAL FUNCTIONS ========
@@ -1304,7 +1305,10 @@
CleanupStack::PushL( note );
HBufC* text = NULL;
- text = StringLoader::LoadLC( R_SENDUI_SETTINGS_NOT_OK, &iCoeEnv );
+ if( iSingleton.ClientMtmRegistryL().TechnologyTypeUid( aMtmUid ) == KMailTechnologyTypeUid )
+ text = StringLoader::LoadLC( R_SENDUI_SETTINGS_EMAIL_NOT_OK, &iCoeEnv );
+ else
+ text = StringLoader::LoadLC( R_SENDUI_SETTINGS_NOT_OK, &iCoeEnv );
note->ShowNoteL( EAknGlobalErrorNote, *text );
CleanupStack::PopAndDestroy( 2, note ); // note, stringLoader
aContinue = EFalse;