Don't show completion if the entry already lost focus

This commit is contained in:
Alexander Butenko 2010-01-19 06:34:53 +01:00 committed by Christian Dywan
parent b5a23cec3a
commit 5bf92be622

View file

@ -317,6 +317,9 @@ midori_location_action_popup_timeout_cb (gpointer data)
#endif
gint matches, height, screen_height;
if (!gtk_widget_has_focus (action->entry))
return FALSE;
if (G_UNLIKELY (!action->popup))
{
GtkWidget* popup;