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:
committed by
Hari Rana
parent
59ee1db556
commit
5a693f2a25
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user