From 9c9b5e6034ab70ed0513d7dab5dd3e55c0e47e9e Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 13 Mar 2008 00:33:55 +0000 Subject: [PATCH] Put some more FIXMEs Signed-off-by: Federico Mena Quintero svn path=/trunk/; revision=19816 --- gtk/gtkfilechooserentry.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index fc32b2a802..2f533ea080 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -1041,6 +1041,13 @@ gtk_file_chooser_entry_changed (GtkEditable *editable) * When the entry is activated, cancel the load_complete_action. * In general, cancel the load_complete_action when the entry loses the focus. */ + + /* FIXME: is ::changed too coarse? We need + * + * if insert_text, start autocompletion if the cursor is at the end + * if delete_text, don't do anything + * if cursor moves, don't do anything + */ } static void @@ -1245,6 +1252,8 @@ _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 */ + gtk_entry_set_text (GTK_ENTRY (chooser_entry), file_part); }