[meld] filediff: Remove Shift-based scroll lock that GTK+ 3.18 broke



commit 668543418605b1c01039956961e14398dcc53654
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Apr 9 07:45:49 2017 +1000

    filediff: Remove Shift-based scroll lock that GTK+ 3.18 broke
    
    In GTK+ 3.18, default behaviour changed so that Shift + scroll scrolled
    horizontally, instead of not having a binding. Since we bound this
    to disable our vertical scroll lock, this broke that behaviour. However,
    no one has complained at this point, so rather than find a new binding
    I'm just going to remove it and see where we get to.

 meld/filediff.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index fbafaec..85a5ed7 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1650,7 +1650,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
         if self._sync_vscroll_lock:
             return
 
-        if not self._scroll_lock and (self.keymask & MASK_SHIFT) == 0:
+        if not self._scroll_lock:
             self._sync_vscroll_lock = True
             syncpoint = 0.5
 


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