photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxmediaselectionpopup.cpp
branchRCL_3
changeset 15 191387a8b767
parent 9 6b87b143d312
child 18 78ad99c24f08
--- a/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxmediaselectionpopup.cpp	Wed Apr 14 15:57:24 2010 +0300
+++ b/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxmediaselectionpopup.cpp	Tue Apr 27 16:37:53 2010 +0300
@@ -413,9 +413,10 @@
 
         if (iMediaList->Item(iListBox->CurrentItemIndex()).IsStatic())
             {
-
-            CGlxCommandHandlerNewMedia* commandHandlerNewMedia =
-                    CGlxCommandHandlerNewMedia::NewL(this);
+			TFileName uiutilitiesrscfile;
+			uiutilitiesrscfile.Append(CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL());
+			CGlxCommandHandlerNewMedia* commandHandlerNewMedia =
+			CGlxCommandHandlerNewMedia::NewL(this,uiutilitiesrscfile);
             TGlxMediaId newMediaId;
             TInt error = commandHandlerNewMedia->ExecuteLD(newMediaId);
             if (error == KErrNone)