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
This commit is contained in:
Georges Basile Stavracas Neto
2023-09-09 20:14:39 -03:00
parent c265edeb05
commit ad34aa40fc
+1 -1
View File
@@ -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 ();