gtk+ r19823 - trunk/gtk



Author: federico
Date: Thu Mar 13 00:36:42 2008
New Revision: 19823
URL: http://svn.gnome.org/viewvc/gtk+?rev=19823&view=rev

Log:
Turn on in_change while changing the filename in the entry

Signed-off-by: Federico Mena Quintero <federico gnu org>


Modified:
   trunk/gtk/gtkfilechooserentry.c

Modified: trunk/gtk/gtkfilechooserentry.c
==============================================================================
--- trunk/gtk/gtkfilechooserentry.c	(original)
+++ trunk/gtk/gtkfilechooserentry.c	Thu Mar 13 00:36:42 2008
@@ -1261,9 +1261,9 @@
 {
   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;
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]