From d86d0f7e1eeeba8ccbf89bbd2f8c0aca57fafff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Fortin=20Tam?= Date: Sat, 30 Aug 2025 00:24:15 -0400 Subject: [PATCH] event-editor: Focus the whole title entry on start This avoids the text cursor being positioned at the start of the entry. Fixes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1452 Part-of: --- src/gui/event-editor/gcal-summary-section.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/event-editor/gcal-summary-section.c b/src/gui/event-editor/gcal-summary-section.c index 661cd289..c0f1684d 100644 --- a/src/gui/event-editor/gcal-summary-section.c +++ b/src/gui/event-editor/gcal-summary-section.c @@ -75,7 +75,7 @@ gcal_reminders_section_set_event (GcalEventEditorSection *section, gtk_editable_set_text (GTK_EDITABLE (self->summary_entry), gcal_event_get_summary (event)); gtk_editable_set_text (GTK_EDITABLE (self->location_entry), gcal_event_get_location (event)); - adw_entry_row_grab_focus_without_selecting (self->summary_entry); + gtk_widget_grab_focus (GTK_WIDGET (self->summary_entry)); gtk_widget_remove_css_class (GTK_WIDGET (self->summary_entry), "error");