diff -r f0c0788c4de2 -r 756ad29ed18e camerauis/cameraapp/generic/src/CamPostCaptureViewBase.cpp --- a/camerauis/cameraapp/generic/src/CamPostCaptureViewBase.cpp Wed Sep 15 11:51:19 2010 +0300 +++ b/camerauis/cameraapp/generic/src/CamPostCaptureViewBase.cpp Wed Oct 13 14:09:54 2010 +0300 @@ -37,7 +37,7 @@ #include #include #include -#include + #include "Cam.hrh" #include "CamUtility.h" @@ -189,7 +189,6 @@ sp->MakeVisible( ETrue ); title->MakeVisible( ETrue ); iContainer->SetRect( AppUi()->ClientRect() ); - DecrementCameraUsers(); GlxMetadataViewUtility::ActivateViewL( iController.CurrentFullFileName() ); static_cast(iContainer)->CheckForFileName( ETrue ); title->MakeVisible( EFalse ); @@ -218,8 +217,6 @@ break; case KAiwCmdEdit: case ECamCmdEdit: - case ECamCmdEditPhoto: - case ECamCmdEditVideo: { CAiwGenericParamList& inputParams = iAiwServiceHandler->InParamListL(); TPtrC currentFullFileName(iController.CurrentFullFileName()); @@ -585,8 +582,7 @@ { fixedToolbar->SetToolbarObserver( this ); UpdateToolbarIconsL(); - if( Id().iUid != ECamViewIdVideoPostCapture && !appui->IsSelfTimedCapture() && - !iController.SavedCurrentImage() ) + if( Id().iUid != ECamViewIdVideoPostCapture && !appui->IsSelfTimedCapture() ) { fixedToolbar->SetDimmed(ETrue); } @@ -902,7 +898,6 @@ TBool allowMultipleSelection = ETrue; RArray selectedAlbumIds; CleanupClosePushL( selectedAlbumIds ); - DecrementCameraUsers(); // Launching the Pop-up menu with the list of albums TRAPD( err, TGlxCollectionSelectionPopup::ShowPopupL( selectedAlbumIds, @@ -965,17 +960,12 @@ } /* -* CCamPostCaptureViewBase::AddToAlbumIdOperationCompleteL() +* CCamPostCaptureViewBase::AddToAlbumIdOperationComplete() */ -void CCamPostCaptureViewBase::AddToAlbumIdOperationCompleteL() +void CCamPostCaptureViewBase::AddToAlbumIdOperationComplete() { - PRINT( _L("Camera => CCamPostCaptureViewBase::AddToAlbumIdOperationCompleteL() ... SUCCESS ") ); + PRINT( _L("Camera => CCamPostCaptureViewBase::AddToAlbumIdOperationComplete() ... SUCCESS ") ); iAddToAlbumRequestOngoing = EFalse; - - HBufC* infoText = StringLoader::LoadL( R_NOTE_ADDED_ONE_ITEM_ALBUM ); - CAknConfirmationNote* confNote = new( ELeave ) CAknConfirmationNote( ETrue ); - confNote->ExecuteLD( *infoText ); - }