diff --git a/meld/accelerators.py b/meld/accelerators.py index ad116e06..d3030250 100644 --- a/meld/accelerators.py +++ b/meld/accelerators.py @@ -12,10 +12,10 @@ VIEW_ACCELERATORS: Dict[str, Union[str, Sequence[str]]] = { 'view.go-to-line': 'I', # Overridden in CSS 'view.next-change': ('Down', 'KP_Down', 'D'), - 'view.next-pane': 'Page_Down', + 'view.next-pane': ('Page_Down', 'Tab'), # Overridden in CSS 'view.previous-change': ('Up', 'KP_Up', 'E'), - 'view.previous-pane': 'Page_Up', + 'view.previous-pane': ('Page_Up', 'Tab'), 'view.redo': 'Z', 'view.refresh': ('R', 'F5'), 'view.save': 'S', diff --git a/meld/resources/meld.css b/meld/resources/meld.css index 7ec8e70a..04e1f81a 100644 --- a/meld/resources/meld.css +++ b/meld/resources/meld.css @@ -34,6 +34,15 @@ action-gutter { background-color: @theme_bg_color; } +@binding-set UnbindFocusBindings { + unbind "Tab"; + unbind "Tab"; +} + +* { + -gtk-key-bindings: UnbindFocusBindings; +} + @binding-set ChunkMovementBindings { /* Gdk.ScrollDirection.UP */ bind "Up" { "move-diff" (0) };