calendarui/views/src/calendaycontainer.cpp
branchRCL_3
changeset 27 aba12c885d83
parent 25 bf573002ff72
child 28 96907930389d
--- a/calendarui/views/src/calendaycontainer.cpp	Mon Jun 21 15:38:59 2010 +0300
+++ b/calendarui/views/src/calendaycontainer.cpp	Thu Jul 15 18:37:27 2010 +0300
@@ -1477,11 +1477,6 @@
 		if(iGestureHelper)
         {
         iGestureHelper->HandlePointerEventL( aPointerEvent );
-        if (  iGestureHandled )
-            {
-            TRACE_EXIT_POINT;
-            return;
-            }
         }
 	        	
 	        	
@@ -1526,16 +1521,27 @@
             }
         case GestureHelper::EGestureSwipeRight:
             {
-            HandleNaviDecoratorEventL( EAknNaviDecoratorEventLeftTabArrow );
-            iGestureHandled = ETrue;
+            //Handle swipe only if event view command
+            //is not yet handled
+            if(!DayView().isEventViewCommandHandled())
+                {
+                HandleNaviDecoratorEventL( EAknNaviDecoratorEventLeftTabArrow );
+                iGestureHandled = ETrue;
+                }
             break;
             }
         case GestureHelper::EGestureSwipeLeft:
             {
-            HandleNaviDecoratorEventL( EAknNaviDecoratorEventRightTabArrow );
-            iGestureHandled = ETrue;
+            //Handle swipe only if event view command
+            //is not yet handled
+            if(!DayView().isEventViewCommandHandled())
+                {
+                HandleNaviDecoratorEventL( EAknNaviDecoratorEventRightTabArrow );
+                iGestureHandled = ETrue;
+                }
+            
+            }
             break;
-            }
         default:
             // Other gestures are not handled here
             break;