From 5628a5f311bb9087350d9748c51b28a9d671a5c1 Mon Sep 17 00:00:00 2001 From: Hari Rana Date: Wed, 25 Jun 2025 19:08:53 -0400 Subject: [PATCH] event-editor/multi-choice: Make up/down buttons unfocusable Spin buttons' increment/decrement buttons are standardly not made to be accessible/focusable. This copies the behavior from the GtkSpinButton widget. Related: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1036 Part-of: --- src/gui/event-editor/gcal-multi-choice.blp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/event-editor/gcal-multi-choice.blp b/src/gui/event-editor/gcal-multi-choice.blp index c4210960..97aba31b 100644 --- a/src/gui/event-editor/gcal-multi-choice.blp +++ b/src/gui/event-editor/gcal-multi-choice.blp @@ -7,6 +7,7 @@ template $GcalMultiChoice: Box { Button down_button { icon-name: "pan-start-symbolic"; clicked => $button_clicked_cb(); + can-focus: false; styles [ "back-button", @@ -46,6 +47,7 @@ template $GcalMultiChoice: Box { Button up_button { icon-name: "pan-end-symbolic"; clicked => $button_clicked_cb(); + can-focus: false; styles [ "circular",