[hyena] ListView: Fix scrolling with the mouse wheel (bgo#709717)



commit 48aa6db47acd722bb4e9dcc7fc6216f00407c72a
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Wed Oct 9 13:16:27 2013 +0200

    ListView: Fix scrolling with the mouse wheel (bgo#709717)
    
    For scrolling with the mouse wheel to work in a custom widget, you now
    need to set the ScrollMask event mask.

 .../Hyena.Data.Gui/ListView/ListView_Windowing.cs  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs 
b/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs
index 4c42cb8..cc63c78 100644
--- a/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs
+++ b/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs
@@ -72,6 +72,7 @@ namespace Hyena.Data.Gui
                 EventMask.KeyReleaseMask |
                 EventMask.ButtonPressMask |
                 EventMask.ButtonReleaseMask |
+                EventMask.ScrollMask |
                 EventMask.LeaveNotifyMask |
                 EventMask.ExposureMask);
 


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