photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmpxcommandcommandhandler.cpp
equal
deleted
inserted
replaced
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 } |