photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxtagfullscreenviewplugin.cpp
branchRCL_3
changeset 25 191387a8b767
parent 1 9ba538e329bd
child 32 78ad99c24f08
--- a/photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxtagfullscreenviewplugin.cpp	Wed Apr 14 15:57:24 2010 +0300
+++ b/photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxtagfullscreenviewplugin.cpp	Tue Apr 27 16:37:53 2010 +0300
@@ -91,22 +91,26 @@
 // Adds Command Handlers to the view
 //-----------------------------------------------------------------------------
 void CGlxTagFullScreenViewPlugin::AddCommandHandlersL()
-   {
-   TRACER( "CGlxTagFullScreenViewPlugin::AddCommandHandlersL"); 
-    
-   CGlxFullScreenViewPluginBase::AddCommandHandlersL();
-    
-   //For tag tile view
-   GLX_LOG_INFO("Adding CGlxCommandHandlerRemoveFrom");
-   iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(iFullScreenView, EMPXTag)); 
+	{
+	TRACER( "CGlxTagFullScreenViewPlugin::AddCommandHandlersL");
+
+	CGlxFullScreenViewPluginBase::AddCommandHandlersL();
+	TFileName uiutilitiesrscfile;
+	uiutilitiesrscfile.Append(
+			CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL());
 
-    // set up help context info
-    TGlxHelpContext helpInfo;
-    helpInfo.iBrowseContext = LGAL_HLP_TAGS_GRID;
-    helpInfo.iBrowseContext = LGAL_HLP_TAGS_FULLSCREEN;
-    
-    iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo)); 
-    }
+	//For tag tile view
+	GLX_LOG_INFO("Adding CGlxCommandHandlerRemoveFrom");
+	iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(
+			iFullScreenView, EMPXTag, uiutilitiesrscfile));
+
+	// set up help context info
+	TGlxHelpContext helpInfo;
+	helpInfo.iBrowseContext = LGAL_HLP_TAGS_GRID;
+	helpInfo.iBrowseContext = LGAL_HLP_TAGS_FULLSCREEN;
+
+	iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo));
+	}
 
 //-----------------------------------------------------------------------------
 // Get the Resource File Name