photosgallery/viewframework/plugins/gridviewplugin/src/glxalbumgridviewplugin.cpp
--- a/photosgallery/viewframework/plugins/gridviewplugin/src/glxalbumgridviewplugin.cpp Wed Apr 14 15:57:24 2010 +0300
+++ b/photosgallery/viewframework/plugins/gridviewplugin/src/glxalbumgridviewplugin.cpp Tue Apr 27 16:37:53 2010 +0300
@@ -94,19 +94,24 @@
void CGlxAlbumGridViewPlugin::AddCommandHandlersL()
- {
- CGlxGridViewPluginBase::AddCommandHandlersL();
- // Remove from Album
- ///@todo this should only be added to the albums view plugin.
- iGridView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(iGridView, EMPXAlbum));
-
- TGlxHelpContext helpInfo;
- helpInfo.iBrowseContext = LGAL_HLP_ALBUM_GRID;
- helpInfo.iViewContext = LGAL_HLP_ALBUM_FULLSCREEN;
-
- iGridView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo));
+ {
+ CGlxGridViewPluginBase::AddCommandHandlersL();
+ // Remove from Album
+ ///@todo this should only be added to the albums view plugin.
+ TFileName uiutilitiesrscfile;
+ uiutilitiesrscfile.Append(
+ CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL());
- }
+ iGridView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(iGridView,
+ EMPXAlbum, uiutilitiesrscfile));
+
+ TGlxHelpContext helpInfo;
+ helpInfo.iBrowseContext = LGAL_HLP_ALBUM_GRID;
+ helpInfo.iViewContext = LGAL_HLP_ALBUM_FULLSCREEN;
+
+ iGridView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo));
+
+ }