idlefw/plugins/mcsplugin/handler/src/mcspluginhandler.cpp
branchRCL_3
changeset 82 ace62b58f4b2
parent 51 15e4dd19031c
--- a/idlefw/plugins/mcsplugin/handler/src/mcspluginhandler.cpp	Tue May 25 13:01:39 2010 +0300
+++ b/idlefw/plugins/mcsplugin/handler/src/mcspluginhandler.cpp	Wed Jun 09 10:01:25 2010 +0300
@@ -44,6 +44,7 @@
 _LIT( KMenuAttrParam, "param" );
 
 #define KMCSCmailUidValue 0x2001E277
+#define KMCSCmailMailboxDefaultViewIdValue 0x1
 #define KMCSCmailMailboxViewIdValue 0x2
 #define KMCSCmailMtmUidValue 0x2001F406
 
@@ -211,7 +212,10 @@
             }
         else
             {
-            iVwsSession->StartApp( TUid::Uid( KMCSCmailUidValue ) );
+            const TVwsViewId viewId( TUid::Uid( KMCSCmailUidValue ), 
+                    TUid::Uid( KMCSCmailMailboxDefaultViewIdValue ) );
+            iVwsSession->CreateActivateViewEvent( viewId, 
+                    TUid::Uid( KMCSCmailUidValue ), KNullDesC8() );
             }
 
         }