diff options
author | Kristian Rietveld <kris@gtk.org> | 2009-09-30 10:19:07 +0200 |
---|---|---|
committer | Kristian Rietveld <kris@gtk.org> | 2009-09-30 10:25:48 +0200 |
commit | 77fc6e35397d96c4a511d65dff58ce42e58a39ec (patch) | |
tree | a8a08dfccefbddde991126cb3119b343fc385410 /gdk/gdkwindow.c | |
parent | 3a69f6772bfa8a560e3fef557d292851a5da45a4 (diff) | |
download | gtk+-77fc6e35397d96c4a511d65dff58ce42e58a39ec.tar.gz |
Bug 596580 - Blank rows in entry autocompletion
gtk_tree_model_build_level() always needs to emit row-inserted when
requested, this should not depend on whether the level has a parent
level or a virtual root, which is a check whether or not we need to
reference the node in the child model. Furthermore, we also need
to emit row-has-child-toggled after row-inserted when appropriate.
When gtk_tree_model_filter_row_changed() pulls in the root level, it
must request build_level() to emit signals for this. The refilter
function uses row_changed to process the changes, so build_level() in
the first call to row_changed() might pull in multiple new nodes in this
scenario, for all of these signals need to be emitted. Of course,
build_level() will then also emit the signals for the node row_changed()
is processing, we should not emit a duplicate signal, this is now
accounted for.
Add a unit test for this. For this small functionality to block the
row-changed signal has been implemented, so that we can simulate calls
to the refilter function using the current visible column setup.
Diffstat (limited to 'gdk/gdkwindow.c')
0 files changed, 0 insertions, 0 deletions