Block the ::changed handler during the emission of ::match-selected.

Tue Mar 16 00:56:11 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_list_button_press):
	Block the ::changed handler during the emission of ::match-selected.
	Partial fix for #137226.

	* gtk/gtkfilechooserentry.c: Remove the no longer needed
	no_pop_down flag.
This commit is contained in:
Matthias Clasen
2004-03-15 23:56:44 +00:00
committed by Matthias Clasen
parent d6a2be32d4
commit bf86da9df0
7 changed files with 74 additions and 10 deletions

View File

@ -627,9 +627,13 @@ gtk_entry_completion_list_button_press (GtkWidget *widget,
&iter, path);
gtk_tree_path_free (path);
g_signal_handler_block (completion->priv->entry,
completion->priv->changed_id);
g_signal_emit (completion, entry_completion_signals[MATCH_SELECTED],
0, GTK_TREE_MODEL (completion->priv->filter_model),
&iter, &entry_set);
g_signal_handler_unblock (completion->priv->entry,
completion->priv->changed_id);
if (!entry_set)
{