--- 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;