From baeaea3ca8504bf9925c235bc60951cfdbfdc45c Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 13 Mar 2008 00:36:42 +0000 Subject: [PATCH] Turn on in_change while changing the filename in the entry Signed-off-by: Federico Mena Quintero svn path=/trunk/; revision=19823 --- gtk/gtkfilechooserentry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index 0b4d246aa5..7e86838082 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -1261,9 +1261,9 @@ _gtk_file_chooser_entry_set_file_part (GtkFileChooserEntry *chooser_entry, { g_return_if_fail (GTK_IS_FILE_CHOOSER_ENTRY (chooser_entry)); - /* FIXME: this may need to turn on in_change, since we don't want autocompletion to start */ - + chooser_entry->in_change = TRUE; gtk_entry_set_text (GTK_ENTRY (chooser_entry), file_part); + chooser_entry->in_change = FALSE; }