equal
deleted
inserted
replaced
334 // CVIMPSTUiTabbedView::DynInitMenuPaneL |
334 // CVIMPSTUiTabbedView::DynInitMenuPaneL |
335 // -------------------------------------------------------------------------- |
335 // -------------------------------------------------------------------------- |
336 // |
336 // |
337 void CVIMPSTUiTabbedView::DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ) |
337 void CVIMPSTUiTabbedView::DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ) |
338 { |
338 { |
|
339 |
|
340 if (iEngine.IsUnInstalled()) |
|
341 { |
|
342 // if engine is uninstalled, do not initiate the menu pane. |
|
343 return; |
|
344 } |
339 // AIW knows its own submenu hooks, so we can return from |
345 // AIW knows its own submenu hooks, so we can return from |
340 // here if AIW handled this. |
346 // here if AIW handled this. |
341 ReInitializeServiceHandlerL(); |
347 ReInitializeServiceHandlerL(); |
342 |
348 |
343 iMenuExtension.ResetAIWCommandMap(); |
349 iMenuExtension.ResetAIWCommandMap(); |
771 { |
777 { |
772 //command is executed, hence return. |
778 //command is executed, hence return. |
773 return; |
779 return; |
774 } |
780 } |
775 ReInitializeServiceHandlerL(); |
781 ReInitializeServiceHandlerL(); |
776 TInt serviceCommandId =iServiceHandler->ServiceCmdByMenuCmd(aCommand); |
782 if ( iServiceHandler ) |
777 |
783 { |
778 if ( iContainer && serviceCommandId == KAiwCmdCall ) |
784 TInt serviceCommandId =iServiceHandler->ServiceCmdByMenuCmd(aCommand); |
779 { |
785 |
780 MakeVoipCallL(); |
786 if ( iContainer && serviceCommandId == KAiwCmdCall ) |
781 return; |
787 { |
782 } |
788 MakeVoipCallL(); |
783 |
789 return; |
|
790 } |
|
791 } |
784 if( iContainer ) |
792 if( iContainer ) |
785 { |
793 { |
786 iContainer->SetClrFindPaneFlag(ETrue); |
794 iContainer->SetClrFindPaneFlag(ETrue); |
787 } |
795 } |
788 |
796 |
1050 { |
1058 { |
1051 Pbk2AppUi()->Pbk2StartupMonitor()-> |
1059 Pbk2AppUi()->Pbk2StartupMonitor()-> |
1052 NotifyViewActivationL( iView.Id() ); |
1060 NotifyViewActivationL( iView.Id() ); |
1053 } |
1061 } |
1054 |
1062 |
1055 iView.Cba()->SetCommandSetL( R_IM_CONTACTS_TABBED_VIEW_SOFTKEYS ); |
1063 if (iEngine.IsUnInstalled()) |
|
1064 { |
|
1065 // engine is uninstalled, disable left softkey i.e options and provide only exit. |
|
1066 iView.Cba()->SetCommandSetL(R_AVKON_SOFTKEYS_EXIT); |
|
1067 } |
|
1068 else |
|
1069 { |
|
1070 // engine is constructed completely, provide tabbed view softkeys. |
|
1071 iView.Cba()->SetCommandSetL(R_IM_CONTACTS_TABBED_VIEW_SOFTKEYS); |
|
1072 } |
|
1073 |
1056 |
1074 |
1057 ReadAndSetOwnUserIdL(); |
1075 ReadAndSetOwnUserIdL(); |
1058 |
1076 |
1059 if (!iContainer&& !iContainerCreationStarted) |
1077 if (!iContainer&& !iContainerCreationStarted) |
1060 { |
1078 { |