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:
committed by
Matthias Clasen
parent
d6a2be32d4
commit
bf86da9df0
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user