camerauis/cameraapp/generic/src/CamStillPreCaptureView.cpp
branchRCL_3
changeset 11 d486e5e3cc9a
parent 10 8c55c525d5d7
child 13 38fb6f7eacd5
--- a/camerauis/cameraapp/generic/src/CamStillPreCaptureView.cpp	Mon Mar 15 12:39:00 2010 +0200
+++ b/camerauis/cameraapp/generic/src/CamStillPreCaptureView.cpp	Wed Mar 31 21:06:44 2010 +0300
@@ -309,6 +309,14 @@
     PRINT( _L("Camera <> CCamStillPreCaptureView::HandleForegroundEventL: to foreground") );
     PRINT1( _L("Camera <> CCamStillPreCaptureView .. Current controller operation [%s]"), KCamCaptureOperationNames[iController.CurrentOperation()] );
     PRINT1( _L("Camera <> CCamStillPreCaptureView .. Current controller mode      [%s]"), KCamModeNames[iController.CurrentMode()] );
+    if( ECamViewStateStandby == appUi->CurrentViewState() )
+      {
+      CAknToolbar* fixedToolbar = appUi->CurrentFixedToolbar();
+      if( fixedToolbar )
+        {
+        fixedToolbar->SetToolbarVisibility( EFalse );    
+        }
+      }
 
 
     if( iController.SequenceCaptureInProgress() )
@@ -1275,7 +1283,7 @@
         UpdateToolbarIconsL();
         if( aToolbar )
                 {            
-                if ( iEmbedded && appUi->IsSecondCameraEnabled() )
+                if ( iEmbedded /* && appUi->IsSecondCameraEnabled()*/ )
                     {
 					aToolbar->SetItemDimmed(ECamCmdNewVideo, ETrue, ETrue);
                     }