? gtk+.kdevprj
? filesel_refresh.patch
? examples/filesel/abc.txt
? examples/filesel/def.txt
? examples/gtkdial/dial_test
? examples/menu/itemfactory
? examples/selection/gettargets
? examples/selection/setselection
? examples/tictactoe/ttt_test
Index: gtk/gtkfilesel.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkfilesel.c,v
retrieving revision 1.80
diff -u -r1.80 gtkfilesel.c
--- gtk/gtkfilesel.c	2001/04/28 20:18:27	1.80
+++ gtk/gtkfilesel.c	2001/05/13 14:33:48
@@ -3292,3 +3292,25 @@
   else
     return g_strerror (err);
 }
+
+/**
+ * gtk_file_selection_refresh:
+ * @filesel: a #GtkFileSelection
+ *
+ * This function updates the directory listing, showing a more
+ * up-to-date view of the directory.
+ * This might be used after the file selection has been hidden,
+ * but before it is shown again.
+ *
+ **/
+void
+gtk_file_selection_refresh (GtkFileSelection *filesel)
+{
+  const gchar *filename = NULL;
+
+  g_return_if_fail (filesel != NULL);
+
+  filename = gtk_file_selection_get_filename(filesel);
+  if(filename)
+    gtk_file_selection_set_filename(filesel, filename);
+}
Index: gtk/gtkfilesel.h
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkfilesel.h,v
retrieving revision 1.13
diff -u -r1.13 gtkfilesel.h
--- gtk/gtkfilesel.h	2001/03/23 23:39:24	1.13
+++ gtk/gtkfilesel.h	2001/05/13 14:33:49
@@ -100,6 +100,7 @@
 void       gtk_file_selection_show_fileop_buttons (GtkFileSelection *filesel);
 void       gtk_file_selection_hide_fileop_buttons (GtkFileSelection *filesel);
 
+void       gtk_file_selection_refresh (GtkFileSelection *filesel);
 
 #ifdef __cplusplus
 }
