]> Pileus Git - ~andy/gtk/commit
Emit row-has-child-toggled when a first node becomes visible in a level
authorKristian Rietveld <kris@gtk.org>
Sat, 5 Sep 2009 14:41:09 +0000 (16:41 +0200)
committerKristian Rietveld <kris@gtk.org>
Sat, 5 Sep 2009 15:15:42 +0000 (17:15 +0200)
commitf483c5b7d635e15373c4fe61c96de3410d299a32
tree74eea1625fc89a2b120e3dd730fe282de117b12d
parent0c4f29e85767154382cf2a46d3faa6b0ab742aa8
Emit row-has-child-toggled when a first node becomes visible in a level

If we have a level with zero visible nodes and the first node becomes
visible in that level, then parent has just become a "real" parent node.
In such a case we need to emit row-has-child-toggled.  This only applies
to non-root levels that have a parent.  This problem was also found when
writing the unit test, the respective cases in the unit test have been
corrected.

This fixes bugs:
 Bug 372010 - Filtering not working properly
 Bug 525965 - Filtered and sorted GtkTreeView is missing rows
gtk/gtktreemodelfilter.c
gtk/tests/filtermodel.c