application/src/PodcastListView.cpp
branchtwolistboxes
changeset 318 a231cc388498
parent 316 841ccfa933ac
child 320 e3ec8e436951
--- a/application/src/PodcastListView.cpp	Sun Oct 31 13:41:59 2010 +0000
+++ b/application/src/PodcastListView.cpp	Sun Oct 31 13:58:44 2010 +0000
@@ -184,7 +184,12 @@
 	return iListbox;
 }
 
-
+void CPodcastListContainer::SetListboxObserver(MEikListBoxObserver *aObserver)
+	{
+	iListboxLandscape->SetListBoxObserver(aObserver);
+	iListboxPortrait->SetListBoxObserver(aObserver);
+	}
+		
 void CPodcastListContainer::SetListboxIcons(CArrayPtr< CGulIcon >* aIcons)
 {
 	iListboxLandscape->ItemDrawer()->ColumnData()->SetIconArray(aIcons);
@@ -258,6 +263,7 @@
 		
 	iListContainer->SetListboxTextArrays(iItemArray, iItemArrayShort);
 	iListContainer->SetContainerListener(this);
+	iListContainer->SetListboxObserver(this);
 	
 	if (Toolbar()) {
 		iToolbar = Toolbar();
@@ -464,4 +470,3 @@
 		}
 	return EKeyWasNotConsumed;
 	}
-