Skip to content
  • Matthias Clasen's avatar
    button: Add explicit key bindings for activation · 7b76be53
    Matthias Clasen authored
    We should not rely on GtkWindow to have global
    "activate-default" key bindings that happen to
    fall back to activating the focus widget. This is
    unreliable, since the bubbling up from the button
    to the toplevel may run across other widgets that
    may want to use Enter for their own purpose, and
    then the button loses out. By adding our own
    key bindings, the button gets to handle it before
    its ancestors.
    
    This fixes check buttons in the inspector property
    list not reacting to Enter despite having focus.
    7b76be53