diff options
author | Volker Sobek <reklov@live.com> | 2012-05-16 21:30:08 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-05-16 21:30:08 +0800 |
commit | f28b9dfded9f083c5d6d6537102e9c56fcc79e6d (patch) | |
tree | 50c7e3914965a473a3f6dba30bc9aedf95f5b3a0 | |
parent | fb1dd37d4eb68c0827ac81581a7adcc116969571 (diff) | |
download | gsoc2013-evolution-f28b9dfded9f083c5d6d6537102e9c56fcc79e6d.tar gsoc2013-evolution-f28b9dfded9f083c5d6d6537102e9c56fcc79e6d.tar.gz gsoc2013-evolution-f28b9dfded9f083c5d6d6537102e9c56fcc79e6d.tar.bz2 gsoc2013-evolution-f28b9dfded9f083c5d6d6537102e9c56fcc79e6d.tar.lz gsoc2013-evolution-f28b9dfded9f083c5d6d6537102e9c56fcc79e6d.tar.xz gsoc2013-evolution-f28b9dfded9f083c5d6d6537102e9c56fcc79e6d.tar.zst gsoc2013-evolution-f28b9dfded9f083c5d6d6537102e9c56fcc79e6d.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.
-rw-r--r-- | calendar/gui/e-week-view.c | 2 |
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; |