listitemmanager: Listen to sections-changed
authorMatthias Clasen <mclasen@redhat.com>
Tue, 23 May 2023 17:49:04 +0000 (13:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 27 May 2023 10:33:50 +0000 (06:33 -0400)
commit215f60e450e7f09ddea002f25ae29f3888921041
tree27a21f821e224c12d56f61367eff8d36d246f324
parent87070e0bdd7e39c9f76d2dc68e56b2a65e751f0b
listitemmanager: Listen to sections-changed

And recreate header and footer tiles as needed.

This commit was tested using a sortlistmodel, changing
the section sorter from sorting only by first char
to sorting by the first two chars, which changes
the number of sections, but leaves the alphabetic
order of items unchanged.
gtk/gtklistitemmanager.c