Don't popup the completions if the focus has already been moved somewhere

2005-11-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup):
	Don't popup the completions if the focus has already been
	moved somewhere else.  (#319914, Christian Persch)
This commit is contained in:
Matthias Clasen
2005-11-07 17:27:37 +00:00
committed by Matthias Clasen
parent 9e33d2fdb2
commit 828f8f1790

View File

@@ -1425,6 +1425,9 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion)
if (!GTK_WIDGET_MAPPED (completion->priv->entry))
return;
if (!GTK_WIDGET_HAS_FOCUS (completion->priv->entry))
return;
completion->priv->ignore_enter = TRUE;
column = gtk_tree_view_get_column (GTK_TREE_VIEW (completion->priv->action_view), 0);