gtk_entry_completion_complete: menu refresh?



I'm working on an enhancement to libgweather-3 which will query geonames.org for the names of locations which 
are not in the included xml file (see https://bugzilla.gnome.org/show_bug.cgi?id=530178).  I've got 
everything working fine except for one detail: once the response is received and added to the internal table, 
the newly added location(s) are detected by the matcher method but the new records don't get displayed until 
some keystroke event, such as a backspace, causes the text box to be updated.  It's also a "sometimes" 
problem -- usually when the first query returns only the first block of responses and the user finishes 
typing before the response message has been processed.

Is there something I need to call after gtk_entry_completion_complete to force the GtkEntry to display the 
rest of the choices?  This is with GNOME 2.32.0, gtk-2.10.0 on an amd64 system

Thanks in advance.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]