From ad34aa40fc5a40461ad700fd0b13f163d0d4e77f Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sat, 9 Sep 2023 15:18:18 -0300 Subject: [PATCH] views/month: Add header above week rows Otherwise GTK4 will pick the rows, even when they're clipped. Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1095 --- src/gui/views/gcal-month-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/views/gcal-month-view.c b/src/gui/views/gcal-month-view.c index ae3d9957..cd9b95ef 100644 --- a/src/gui/views/gcal-month-view.c +++ b/src/gui/views/gcal-month-view.c @@ -1650,7 +1650,7 @@ gcal_month_view_init (GcalMonthView *self) g_ptr_array_add (self->week_rows, row); } - gtk_widget_insert_after (self->header, GTK_WIDGET (self), NULL); + gtk_widget_insert_before (self->header, GTK_WIDGET (self), NULL); /* Overflow popover */ self->overflow.popover = gcal_month_popover_new ();