photosgallery/viewframework/plugins/listviewplugin/src/glxmonthlistviewplugin.cpp
branchRCL_3
changeset 25 191387a8b767
parent 0 4e91876724a2
--- a/photosgallery/viewframework/plugins/listviewplugin/src/glxmonthlistviewplugin.cpp	Wed Apr 14 15:57:24 2010 +0300
+++ b/photosgallery/viewframework/plugins/listviewplugin/src/glxmonthlistviewplugin.cpp	Tue Apr 27 16:37:53 2010 +0300
@@ -24,7 +24,7 @@
 #include <glxcommandhandlerhelp.h>
 #include <glxcommandhandlerslideshow.h>
 #include <glxlistview.h>
-
+#include <glxresourceutilities.h>
 #include <glxlistviewplugin.rsg>
 
 
@@ -90,15 +90,17 @@
 // ---------------------------------------------------------------------------
 //
 void CGlxMonthListViewPlugin::AddCommandHandlersL()
-    {
-    CGlxListViewPluginBase::AddCommandHandlersL();
-    
-    // set up help context info
-    TGlxHelpContext helpInfo;
-    helpInfo.iBrowseContext = LGAL_HLP_MONTH_LIST;
-    
-    iListView->AddCommandHandlerL(CGlxCommandHandlerSlideshow::NewL( iListView, EFalse, ETrue ) );
-    iListView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo));
-    }
+	{
+	CGlxListViewPluginBase::AddCommandHandlersL();
+	// set up help context info
+	TGlxHelpContext helpInfo;
+	helpInfo.iBrowseContext = LGAL_HLP_MONTH_LIST;
+	TFileName uiutilitiesrscfile;
+	uiutilitiesrscfile.Append(
+			CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL());
+	iListView->AddCommandHandlerL(CGlxCommandHandlerSlideshow::NewL(iListView,
+			EFalse, ETrue, uiutilitiesrscfile));
+	iListView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo));
+	}
 
 //  End of File