• Kristian Rietveld's avatar
    Bug 596580 - Blank rows in entry autocompletion · 77fc6e35
    Kristian Rietveld authored
    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.
    77fc6e35
Name
Last commit
Last update
contrib Loading commit data...
debian Loading commit data...
demos Loading commit data...
docs Loading commit data...
examples Loading commit data...
gdk Loading commit data...
gdk-pixbuf Loading commit data...
gtk Loading commit data...
m4macros Loading commit data...
modules Loading commit data...
perf Loading commit data...
po Loading commit data...
po-properties Loading commit data...
tests Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog.gtk-async-file-chooser Loading commit data...
ChangeLog.gtk-printing Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
ChangeLog.pre-2-0 Loading commit data...
ChangeLog.pre-2-10 Loading commit data...
ChangeLog.pre-2-12 Loading commit data...
ChangeLog.pre-2-14 Loading commit data...
ChangeLog.pre-2-16 Loading commit data...
ChangeLog.pre-2-2 Loading commit data...
ChangeLog.pre-2-4 Loading commit data...
ChangeLog.pre-2-6 Loading commit data...
ChangeLog.pre-2-8 Loading commit data...
HACKING Loading commit data...
INSTALL.in Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
Makefile.decl Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
README.commits Loading commit data...
README.in Loading commit data...
README.win32 Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.in Loading commit data...
gail-uninstalled.pc.in Loading commit data...
gail.pc.in Loading commit data...
gdk-2.0-uninstalled.pc.in Loading commit data...
gdk-2.0.pc.in Loading commit data...
gdk-pixbuf-2.0-uninstalled.pc.in Loading commit data...
gdk-pixbuf-2.0.pc.in Loading commit data...
git.mk Loading commit data...
gtk+-2.0-uninstalled.pc.in Loading commit data...
gtk+-2.0.pc.in Loading commit data...
gtk+-unix-print-2.0.pc.in Loading commit data...
gtk+.spec.in Loading commit data...
gtk-config-2.0.in Loading commit data...
gtk-engine-check-abi.sh Loading commit data...
gtk-zip.sh.in Loading commit data...
makecopyright Loading commit data...
makefile.msc Loading commit data...
sanitize-la.sh Loading commit data...
sanity_check Loading commit data...