messagingappbase/sendui/genericmtmplugin/src/genericmtmplugin.cpp
changeset 1 d09ac5c1e252
parent 0 72b543305e3a
child 12 caea42e26caa
--- 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;