--- a/browserui/browser/FeedsSrc/FeedsEditFeedDialog.cpp Mon Mar 15 12:40:52 2010 +0200
+++ b/browserui/browser/FeedsSrc/FeedsEditFeedDialog.cpp Wed Mar 31 21:35:49 2010 +0300
@@ -40,6 +40,7 @@
#include <AknRadioButtonSettingPage.h>
#include "FeedsEditFeedDialog.h"
+#define pixelOffset 36
//Constants
const TInt KAutoUpdatingOff = 0;
@@ -135,11 +136,30 @@
}
else
{
- CAknForm::HandlePointerEventL(aPointerEvent);
- if ((iSelectedDlgLine == EFeedsEditAutomaticUpdatingId) && (aPointerEvent.iType == TPointerEvent::EButton1Up))
+ CAknForm::HandlePointerEventL(aPointerEvent);
+ if ( aPointerEvent.iType == TPointerEvent::EButton1Down)
{
- HandleFreqCmdL();
+ iPointerEvent = aPointerEvent;
}
+ else if ( aPointerEvent.iType == TPointerEvent::EDrag )
+ {
+ if((Abs(iPointerEvent.iPosition.iX - aPointerEvent.iPosition.iX) > pixelOffset ) ||
+ (Abs(iPointerEvent.iPosition.iY - aPointerEvent.iPosition.iY) > pixelOffset ))
+ {
+ iDrag = ETrue;
+ }
+ }
+ else if ((iSelectedDlgLine == EFeedsEditAutomaticUpdatingId) && (aPointerEvent.iType == TPointerEvent::EButton1Up))
+ {
+ if(!iDrag)
+ {
+ HandleFreqCmdL();
+ }
+ else
+ {
+ iDrag = EFalse;
+ }
+ }
}
}