photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxalbumfullscreenviewplugin.cpp
branchRCL_3
changeset 25 191387a8b767
parent 0 4e91876724a2
child 32 78ad99c24f08
--- a/photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxalbumfullscreenviewplugin.cpp	Wed Apr 14 15:57:24 2010 +0300
+++ b/photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxalbumfullscreenviewplugin.cpp	Tue Apr 27 16:37:53 2010 +0300
@@ -91,17 +91,20 @@
 
     
 void CGlxAlbumFullScreenViewPlugin::AddCommandHandlersL()
-    {
-    CGlxFullScreenViewPluginBase::AddCommandHandlersL();
-    // Remove from Album.
-    iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(iFullScreenView, EMPXAlbum));     
-    
-    TGlxHelpContext helpInfo;
-    helpInfo.iBrowseContext = LGAL_HLP_ALBUM_FULLSCREEN;
-   
-    iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo)); 
-    }
+	{
+	CGlxFullScreenViewPluginBase::AddCommandHandlersL();
+	TFileName uiutilitiesrscfile;
+	uiutilitiesrscfile.Append(
+			CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL());
+	// Remove from Album.
+	iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(
+			iFullScreenView, EMPXAlbum, uiutilitiesrscfile));
 
+	TGlxHelpContext helpInfo;
+	helpInfo.iBrowseContext = LGAL_HLP_ALBUM_FULLSCREEN;
+
+	iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo));
+	}
 
 
 void CGlxAlbumFullScreenViewPlugin::GetResourceFilenameL(TFileName& aResFile)