--- a/photosgallery/viewframework/plugins/gridviewplugin/src/glxtaggridviewplugin.cpp Wed Apr 14 15:57:24 2010 +0300
+++ b/photosgallery/viewframework/plugins/gridviewplugin/src/glxtaggridviewplugin.cpp Tue Apr 27 16:37:53 2010 +0300
@@ -97,22 +97,26 @@
// Adds Command Handlers to the view
//-----------------------------------------------------------------------------
void CGlxTagGridViewPlugin::AddCommandHandlersL()
- {
- TRACER( "CGlxTagGridViewPlugin::AddCommandHandlersL");
-
- CGlxGridViewPluginBase::AddCommandHandlersL();
-
- //For tag Grid view
- GLX_LOG_INFO("Adding CGlxCommandHandlerRemoveFrom");
- iGridView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(iGridView, EMPXTag));
+ {
+ TRACER( "CGlxTagGridViewPlugin::AddCommandHandlersL");
+
+ CGlxGridViewPluginBase::AddCommandHandlersL();
+ TFileName uiutilitiesrscfile;
+ uiutilitiesrscfile.Append(
+ CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL());
- // set up help context info
- TGlxHelpContext helpInfo;
- helpInfo.iBrowseContext = LGAL_HLP_TAGS_GRID;
- helpInfo.iViewContext = LGAL_HLP_TAGS_FULLSCREEN;
-
- iGridView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo));
- }
+ //For tag Grid view
+ GLX_LOG_INFO("Adding CGlxCommandHandlerRemoveFrom");
+ iGridView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(iGridView,
+ EMPXTag, uiutilitiesrscfile));
+
+ // set up help context info
+ TGlxHelpContext helpInfo;
+ helpInfo.iBrowseContext = LGAL_HLP_TAGS_GRID;
+ helpInfo.iViewContext = LGAL_HLP_TAGS_FULLSCREEN;
+
+ iGridView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo));
+ }
//-----------------------------------------------------------------------------
// Get the Resource File Name