Index: gnome-theme-save.c
===================================================================
RCS file: /cvs/gnome/gnome-control-center/capplets/theme-switcher/gnome-theme-save.c,v
retrieving revision 1.5
diff -u -r1.5 gnome-theme-save.c
--- gnome-theme-save.c	31 Mar 2004 21:30:23 -0000	1.5
+++ gnome-theme-save.c	8 Jul 2004 19:18:26 -0000
@@ -93,6 +93,21 @@
   uri = gnome_vfs_uri_new (dir);
   if (!gnome_vfs_uri_exists (uri))
     gnome_vfs_make_directory_for_uri (uri, 0775);
+  else {
+	GtkDialog *dialog;
+	gint response;
+	  
+	dialog = gtk_message_dialog_new (NULL,
+			 GTK_DIALOG_MODAL,
+			 GTK_MESSAGE_QUESTION,
+	  		 GTK_BUTTONS_OK_CANCEL,
+	  		 _("The theme already exists. Would you like to replace it ?"));
+	response = gtk_dialog_run(dialog);
+	gtk_widget_destroy(dialog);
+	if (response == GTK_RESPONSE_CANCEL) 
+		return FALSE;
+  }
+	  
   gnome_vfs_uri_unref (uri);
   g_free (dir);
 
@@ -294,4 +309,3 @@
   gtk_window_set_transient_for (GTK_WINDOW (save_dialog), GTK_WINDOW (parent));
   gtk_widget_show (save_dialog);
 }
-
