photosgallery/viewframework/views/listview/src/glxlistviewimp.cpp
changeset 3 9a9c174934f5
parent 2 7d9067c6fcb1
child 9 6b87b143d312
--- a/photosgallery/viewframework/views/listview/src/glxlistviewimp.cpp	Mon Jan 18 20:19:20 2010 +0200
+++ b/photosgallery/viewframework/views/listview/src/glxlistviewimp.cpp	Tue Jan 26 11:58:28 2010 +0200
@@ -43,6 +43,7 @@
 #include <StringLoader.h>					//StringLoader		
 #include <glxsetappstate.h>
 #include <glxthumbnailattributeinfo.h>
+#include <glxcollectionpluginalbums.hrh>
 
 const TInt KListDataWindowSize(25);
 const TInt KNoOfPages(2);
@@ -574,6 +575,14 @@
 		//Fix for ESLM-7SAHPT::Clear Flag to Disable QWERTY search input in list view
 		iList->ClearFlags(CHgScroller::EHgScrollerSearchWithQWERTY ); 
 		
+        // Set the scrollbar type for albums list
+        CMPXCollectionPath* path = iMediaList->PathLC( NGlxListDefs::EPathParent );
+        if (path->Id() == KGlxCollectionPluginAlbumsImplementationUid)
+            {
+            iList->SetScrollBarTypeL(CHgScroller::EHgScrollerLetterStripLite );
+            }
+        CleanupStack::PopAndDestroy(path);
+        
 		AppUi()->AddToStackL(iList);
 		}