Skip to content
  • Michael Gratton's avatar
    entry completion: Update popup visibility on manual complete · 59c05aeb
    Michael Gratton authored
    Currently, calling `gtk_entry_completion_complete()` does not adjust
    the visbility of the popup used to show completion entries. This makes
    it difficlt to dynamically populate the model based on what is being
    entered into the completion's entry.
    For example, if the model is being populated from a database, and no
    matches have (yet) been added between typing a character and the 100ms
    delay before completion is automatically triggered, the popup will not
    be shown even after matches have been added.
    This patch simply moves the related code from the private timeout method
    to the public function and shuffles the position of some functions so as
    to keep the compiler happy.