[evolution] Bug 735956 - [EWebView] Do not scroll and zoom when Ctrl+mouse-wheel



commit 410ece8a612ca1092671e356ffcd328d99758a04
Author: Milan Crha <mcrha redhat com>
Date:   Wed Mar 4 18:47:14 2015 +0100

    Bug 735956 - [EWebView] Do not scroll and zoom when Ctrl+mouse-wheel

 e-util/e-web-view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index 4ab3497..d3ca20d 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -903,6 +903,8 @@ web_view_scroll_event (GtkWidget *widget,
                        } else if (total_delta_y <= -1.0) {
                                total_delta_y = 0.0;
                                direction = GDK_SCROLL_UP;
+                       } else if (event->delta_y >= 1e-9 || event->delta_y <= -1e-9) {
+                               return TRUE;
                        } else {
                                return FALSE;
                        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]