aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorVolker Sobek <reklov@live.com>2012-05-16 21:31:26 +0800
committerMilan Crha <mcrha@redhat.com>2012-05-16 21:31:26 +0800
commit89a6e224d73a84ed75b14be9a55dd2f5397e249f (patch)
treeb602c4b682d989344f52aafb8626581ad0b215fe /calendar
parent9cc518864da6dc5898617be0b17bfdc59f892811 (diff)
downloadgsoc2013-evolution-89a6e224d73a84ed75b14be9a55dd2f5397e249f.tar.gz
gsoc2013-evolution-89a6e224d73a84ed75b14be9a55dd2f5397e249f.tar.zst
gsoc2013-evolution-89a6e224d73a84ed75b14be9a55dd2f5397e249f.zip
Bug #671585 - e-week-view.c: Use page_increment for smooth scrolling
Otherwise 4 smooth scroll events with a delta_y of 1.0 are required to scroll the view by a month if the setting 'Scroll Month View by a week' is disabled.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-week-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index dd419d289c..4f6ec6812a 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -2535,7 +2535,7 @@ e_week_view_on_scroll (GtkWidget *widget,
#if GTK_CHECK_VERSION(3,3,18)
case GDK_SCROLL_SMOOTH:
if (scroll->delta_y < -0.001 || scroll->delta_y > 0.001) {
- new_value = value + scroll->delta_y;
+ new_value = value + scroll->delta_y * page_increment;
break;
}
return FALSE;