phonebookui/Phonebook2/ccapplication/ccamycardplugin/src/ccappmycardcontainer.cpp
branchRCL_3
changeset 35 4ae315f230bc
parent 26 0d28c1c5b6dd
child 39 a6539d1e8e43
--- a/phonebookui/Phonebook2/ccapplication/ccamycardplugin/src/ccappmycardcontainer.cpp	Tue May 11 16:00:21 2010 +0300
+++ b/phonebookui/Phonebook2/ccapplication/ccamycardplugin/src/ccappmycardcontainer.cpp	Tue May 25 12:26:45 2010 +0300
@@ -434,7 +434,7 @@
 void CCCAppMyCardContainer::DoCheckExtensionFactoryL()
     {
     CCCAExtensionFactory* extension = iFactoryExtensionNotifier->ExtensionFactory();
-    // if extension is not null, extensionfactory plugins are available ->
+    // if extension is not null and view launcher supports mycard view then 
     // show statuscontrol
     TBool visible = EFalse;
     if( extension )
@@ -443,7 +443,11 @@
             {
             iViewLauncher = extension->CreateViewLauncherL();
             }
-        visible = ETrue;
+        if( iViewLauncher && 
+                iViewLauncher->IsViewSupported( MCCAViewLauncher::EMyCardView ) )
+            {
+            visible = ETrue;
+            }
         }
     else
         {