summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserentry.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnu.org>2008-03-13 00:36:42 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2008-03-13 00:36:42 +0000
commitbaeaea3ca8504bf9925c235bc60951cfdbfdc45c (patch)
tree0b8929255f6132a55cdb2be21b86ab95f0cc0258 /gtk/gtkfilechooserentry.c
parentb25ec8e40ee172ce9db65104ba3a8858dcda3a39 (diff)
downloadgtk+-baeaea3ca8504bf9925c235bc60951cfdbfdc45c.tar.gz
Turn on in_change while changing the filename in the entry
Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19823
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r--gtk/gtkfilechooserentry.c4
1 files 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;
}