photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmpxcommandcommandhandler.cpp
branchRCL_3
changeset 9 6b87b143d312
parent 2 7d9067c6fcb1
child 14 ce1c7ad1f18b
equal deleted inserted replaced
5:f7f0874bfe7d 9:6b87b143d312
   136        		aList.AddMediaListObserverL(this);
   136        		aList.AddMediaListObserverL(this);
   137 			
   137 			
   138             aList.CommandL(*command);
   138             aList.CommandL(*command);
   139             
   139             
   140             // raise progress note. Note will be closed when complete message received
   140             // raise progress note. Note will be closed when complete message received
   141             ProgressNoteL(aCommandId);
   141 			// For EGlxCmdAddMedia we dont need to show dialog as EGlxCmdAddToAlbum or
   142             
   142 			// EGlxCmdAddTag will show processing dialog.
       
   143             if (aCommandId != EGlxCmdAddMedia)
       
   144                 {
       
   145                 ProgressNoteL(aCommandId);
       
   146                 }
   143             CleanupStack::PopAndDestroy(command);
   147             CleanupStack::PopAndDestroy(command);
   144             }
   148             }
   145         }
   149         }
   146     
   150     
   147     return consume;
   151     return consume;
   495 	{
   499 	{
   496     TRACER("CGlxMpxCommandCommandHandler::DismissProgressNoteL");
   500     TRACER("CGlxMpxCommandCommandHandler::DismissProgressNoteL");
   497     // Close the progress note, if displayed
   501     // Close the progress note, if displayed
   498     if (iProgressDialog) 
   502     if (iProgressDialog) 
   499         {
   503         {
       
   504         iProgressDialog->MakeVisible(EFalse);
   500     	iProgressDialog->ProcessFinishedL();
   505     	iProgressDialog->ProcessFinishedL();
   501     	iProgressDialog = NULL;
   506     	iProgressDialog = NULL;
   502     	iProgressInfo = NULL;
   507     	iProgressInfo = NULL;
   503         }
   508         }
   504 	}
   509 	}