diff -r 2dac0fdba72b -r 191387a8b767 photosgallery/viewframework/dataprovider/src/glxdetailsboundcommand.cpp --- a/photosgallery/viewframework/dataprovider/src/glxdetailsboundcommand.cpp Wed Apr 14 15:57:24 2010 +0300 +++ b/photosgallery/viewframework/dataprovider/src/glxdetailsboundcommand.cpp Tue Apr 27 16:37:53 2010 +0300 @@ -39,6 +39,7 @@ #include #include "glxuiutility.h" #include +#include // for CGlxResourceUtilities /** Error Id EMPY-7MKDHP **/ #include "mglxmetadatadialogobserver.h" //for call back to dailog @@ -220,6 +221,7 @@ return self; } + // ---------------------------------------------------------------------------- // CGlxTagsBoundCommand::ConstructL // ---------------------------------------------------------------------------- @@ -227,8 +229,12 @@ void CGlxTagsBoundCommand::ConstructL() { TRACER("CGlxTagsBoundCommand::ConstructL"); + TFileName uiutilitiesrscfile; + uiutilitiesrscfile.Append( + CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL()); //create command handler - iAddToTag = CGlxCommandHandlerAddToContainer::NewL(this, EGlxCmdAddTag, EFalse); + iAddToTag = CGlxCommandHandlerAddToContainer::NewL(this, EGlxCmdAddTag, + EFalse, uiutilitiesrscfile); } // ---------------------------------------------------------------------------- @@ -748,6 +754,7 @@ return self; } + // ---------------------------------------------------------------------------- // CGlxAlbumsBoundCommand::ConstructL // ---------------------------------------------------------------------------- @@ -755,8 +762,12 @@ void CGlxAlbumsBoundCommand::ConstructL() { TRACER("CGlxAlbumsBoundCommand::ConstructL"); + TFileName uiutilitiesrscfile; + uiutilitiesrscfile.Append( + CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL()); //create command handler - iAddToAlbum= CGlxCommandHandlerAddToContainer::NewL(this, EGlxCmdAddToAlbum, EFalse ); + iAddToAlbum = CGlxCommandHandlerAddToContainer::NewL(this, + EGlxCmdAddToAlbum, EFalse, uiutilitiesrscfile); } // ----------------------------------------------------------------------------