--- app/fileops.c~	Tue Jun 19 00:55:09 2001
+++ app/fileops.c	Tue Sep 25 15:02:59 2001
@@ -98,7 +98,8 @@
 };
 
 
-static void    file_overwrite               (gchar         *filename,
+static void    file_overwrite               (GtkWidget     *parent,
+					     gchar         *filename,
 					     gchar         *raw_filename);
 static void    file_overwrite_callback      (GtkWidget     *widget,
 					     gboolean       overwrite,
@@ -1857,7 +1858,8 @@
       else
 	{
 	  gtk_widget_set_sensitive (GTK_WIDGET (fs), FALSE);
-	  file_overwrite (g_strdup (filename), g_strdup (raw_filename));
+	  file_overwrite (GTK_WIDGET (fs),
+			  g_strdup (filename), g_strdup (raw_filename));
 	}
     }
   else
@@ -1900,8 +1902,9 @@
 }
 
 static void
-file_overwrite (gchar *filename,
-		gchar *raw_filename)
+file_overwrite (GtkWidget *parent,
+		gchar     *filename,
+		gchar     *raw_filename)
 {
   OverwriteData *overwrite_data;
   GtkWidget *query_box;
@@ -1922,6 +1925,8 @@
 				      NULL, NULL,
 				      file_overwrite_callback,
 				      overwrite_data);
+
+  gtk_window_set_transient_for (GTK_WINDOW (query_box), GTK_WINDOW (parent));
 
   g_free (overwrite_text);
 
