gssettingsuis/Gs/GSFramework/src/GSParentContainer.cpp
changeset 31 2c9d3aa5bea2
parent 0 8c5d936e5675
--- a/gssettingsuis/Gs/GSFramework/src/GSParentContainer.cpp	Mon Jan 18 20:31:08 2010 +0200
+++ b/gssettingsuis/Gs/GSFramework/src/GSParentContainer.cpp	Thu Apr 01 03:17:51 2010 +0800
@@ -522,7 +522,7 @@
     switch (aEventType)
         {
         case EEventEnterKeyPressed:
-        case EEventItemSingleClicked:
+        case EEventItemDoubleClicked:
             {
             __GSLOGSTRING1(
                 "[CGSParentContainer] Activating view plugin in index[%d]",
@@ -833,37 +833,4 @@
         }
     }
 
-// -----------------------------------------------------------------------------
-// CGSParentContainer::GetPositionL()
-//
-//Get the exact position of listbox.
-// -----------------------------------------------------------------------------
-//
-void CGSParentContainer::GetPositionL(RArray<TInt>& posArray)
-	{
-	posArray.AppendL(iListBox->CurrentItemIndex());
-	posArray.AppendL(iListBox->View()->ItemOffsetInPixels());
-	posArray.AppendL(iListBox->View()->TopItemIndex());
-	return;
-	}
-
-// -----------------------------------------------------------------------------
-// CGSParentContainer::GetPositionL()
-//
-//Get the exact position of listbox.
-// -----------------------------------------------------------------------------
-//
-void CGSParentContainer::SetPosition(const RArray<TInt>& pos, TBool aChangeMode)
-	{
-	iListBox->SetCurrentItemIndex(pos.operator[](0));
-	iListBox->View()->SetItemOffsetInPixels(pos.operator[](1));
-	if (aChangeMode)
-		{
-		iListBox->View()->VerticalMoveToItemL(pos.operator[](0), CListBoxView::ESingleSelection);
-		}
-	else
-		{
-		iListBox->View()->SetTopItemIndex(pos.operator[](2));
-		}
-	}
 //End of File