views/month: Port to GListModel

This was an oversight from the original MR.

Pass the GListModel to the month popover, and let it filter itself
out. Use GtkListBox model utilities for automatically managing the
event widgets.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/work_items/1582
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/767>
This commit is contained in:
Georges Basile Stavracas Neto
2026-05-20 14:33:13 -04:00
committed by Hari Rana
parent 59ee1db556
commit 5a693f2a25
3 changed files with 123 additions and 88 deletions
+2
View File
@@ -1302,6 +1302,8 @@ gcal_month_view_set_model (GcalTimelineSubscriber *subscriber,
gcal_month_view_row_set_model (row, model);
}
gcal_month_popover_set_model (GCAL_MONTH_POPOVER (self->overflow.popover), model);
GCAL_EXIT;
}