From 616481b60c05f27df8e1e1b8b7879fd3ec1ade5e Mon Sep 17 00:00:00 2001 From: ARAKHNID Date: Mon, 25 Aug 2025 13:59:09 -0500 Subject: [PATCH] gui/event-popover: Always focus action button Previously, if there was a meeting row, the join button would be focused instead of the action button. This ended up being undesired behavior, so it's been removed. Closes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1445 Part-of: --- src/gui/gcal-event-popover.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/gui/gcal-event-popover.c b/src/gui/gcal-event-popover.c index c7b6fde5..aa92450b 100644 --- a/src/gui/gcal-event-popover.c +++ b/src/gui/gcal-event-popover.c @@ -662,16 +662,10 @@ static void gcal_event_popover_map (GtkWidget *widget) { GcalEventPopover *self = (GcalEventPopover *) widget; - GtkListBoxRow *first_meeting_row; GTK_WIDGET_CLASS (gcal_event_popover_parent_class)->map (widget); - first_meeting_row = gtk_list_box_get_row_at_index (self->meetings_listbox, 0); - - if (first_meeting_row) - gtk_widget_grab_focus (GTK_WIDGET (first_meeting_row)); - else - gtk_widget_grab_focus (self->action_button); + gtk_widget_grab_focus (self->action_button); }