browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadsListDlg.cpp
branchRCL_3
changeset 47 e1bea15f9a39
parent 38 4917f9bf7995
child 48 79859ed3eea9
--- a/browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadsListDlg.cpp	Thu Jul 15 19:53:20 2010 +0300
+++ b/browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadsListDlg.cpp	Thu Aug 19 10:58:56 2010 +0300
@@ -659,12 +659,31 @@
             case MEikListBoxObserver::EEventItemSingleClicked:
 #endif			
                 {
+                TDownloadUiData& dlData = iDownloadsListArray->DlUiData( CurrentItemIndex() );
+                TInt32 state( dlData.iProgressState );
+                if(state == EHttpProgContentFileMoved)
+                    {
+                      if (!ButtonGroupContainer()->IsCommandVisible(EAknSoftkeyOpen))
+                          {
+                          ButtonGroupContainer()->MakeCommandVisible(EAknSoftkeyOpen,ETrue);
+                          }
+                    }
                 // If EAknSoftkeyOpen is visible, then we can activate the selected download
                 if (ButtonGroupContainer()->IsCommandVisible(EAknSoftkeyOpen))
                     {
                     ProcessCommandL(EAknSoftkeyOpen);
                     }
                 }
+#ifdef BRDO_SINGLE_CLICK_ENABLED_FF
+            case MEikListBoxObserver::EEventPenDownOnItem:
+                {
+                if ( iPointerEvent.iType == TPointerEvent::EButton1Down)
+                    {
+                    iStylusMenu->HandlePointerEventL(iPointerEvent, this);	
+                    }
+                 break;
+                }
+#endif
             default:
                 {
                 break;
@@ -728,10 +747,10 @@
     if ( aPointerEvent.iType == TPointerEvent::EButton1Down)
         {
         iPointerEvent =  aPointerEvent;
-        iStylusMenu->HandlePointerEventL(aPointerEvent, this);
         }
     else if ( aPointerEvent.iType == TPointerEvent::EButton1Up )
         {
+        iPointerEvent =  aPointerEvent;
         iStylusMenu->cancelLongTapL();
             if(iStylusMenu->islongtapRunning())
                 {