views/month-view: Add and update accessible elements

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
This commit is contained in:
Hari Rana
2026-03-03 18:35:17 -05:00
parent 9712280aea
commit b592f15b26
5 changed files with 19 additions and 0 deletions
+3
View File
@@ -1111,6 +1111,9 @@ gcal_month_view_row_init (GcalMonthViewRow *self)
gcal_month_cell_set_overflow (GCAL_MONTH_CELL (self->day_cells[i]), 0);
gtk_widget_set_parent (self->day_cells[i], GTK_WIDGET (self));
g_signal_connect (self->day_cells[i], "show-overflow", G_CALLBACK (on_month_cell_show_overflow_cb), self);
gtk_accessible_update_relation (GTK_ACCESSIBLE (self->day_cells[i]),
GTK_ACCESSIBLE_RELATION_COL_INDEX, i + 1,
-1);
}
}