equal
deleted
inserted
replaced
69 #include <glxerrormanager.h> |
69 #include <glxerrormanager.h> |
70 #include <glxthumbnailattributeinfo.h> |
70 #include <glxthumbnailattributeinfo.h> |
71 #include <glxicons.mbg> |
71 #include <glxicons.mbg> |
72 #include <AknIconUtils.h> |
72 #include <AknIconUtils.h> |
73 #include <glxuistd.h> |
73 #include <glxuistd.h> |
|
74 #include <glxuiutilities.rsg> |
|
75 #include <glxgeneraluiutilities.h> |
74 |
76 |
75 namespace |
77 namespace |
76 { |
78 { |
77 _LIT(KShwSlideshowViewResource,"shwslideshowview.rsc"); |
79 _LIT(KShwSlideshowViewResource,"shwslideshowview.rsc"); |
78 const TInt KShwDefaultDelayMicroSeconds = 5000000; // 5s |
80 const TInt KShwDefaultDelayMicroSeconds = 5000000; // 5s |
241 // need to dismiss the dialog if it's still there |
243 // need to dismiss the dialog if it's still there |
242 if (iWaitDialog) |
244 if (iWaitDialog) |
243 { |
245 { |
244 iWaitDialog->ProcessFinishedL(); |
246 iWaitDialog->ProcessFinishedL(); |
245 } |
247 } |
|
248 HBufC* popupText = NULL; |
|
249 //Load the "No Images to Play Slideshow" string from the resource file |
|
250 popupText = StringLoader::LoadLC(R_GLX_NO_IMAGES_TO_PLAY_SLIDESHOW); |
|
251 // Show the Info Note. |
|
252 GlxGeneralUiUtilities::ShowInfoNoteL(popupText->Des(), EFalse); |
|
253 // LoadLC will push text on to cleanupstack, |
|
254 // hence it should be poped and destroyed |
|
255 CleanupStack::PopAndDestroy(popupText); |
246 } |
256 } |
247 else |
257 else |
248 { |
258 { |
249 // The list should now be populated, so set the focus |
259 // The list should now be populated, so set the focus |
250 SetListFocusL(); |
260 SetListFocusL(); |