Index: nautilus/ChangeLog
===================================================================
RCS file: /export/cvs/gnome-2.0/nautilus/ChangeLog,v
retrieving revision 1.5688
diff -p -u -5 -r1.5688 ChangeLog
--- nautilus/ChangeLog	2003/02/05 14:06:13	1.5688
+++ nautilus/ChangeLog	2003/02/08 11:11:47
@@ -1,5 +1,11 @@
+2003-02-08  Arvind Samptur  <arvind.samptur@wipro.com>
+	* libnautilus-private/nautilus-icon-dnd.c:
+	(confirm_switch_to_manual_layout): Set the parent of the 
+	"Switch to manual layout" dialog correctly for WM to
+	place the dialog on top of the window group. #100343.
+
 2003-02-05  Alexander Larsson  <alexl@redhat.com>
 
 	* src/file-manager/fm-desktop-icon-view.c (create_mount_link):
 	Correct icon name for zip disks.
 
Index: nautilus/libnautilus-private/nautilus-icon-dnd.c
===================================================================
RCS file: /export/cvs/gnome-2.0/nautilus/libnautilus-private/nautilus-icon-dnd.c,v
retrieving revision 1.124
diff -p -u -5 -r1.124 nautilus-icon-dnd.c
--- nautilus/libnautilus-private/nautilus-icon-dnd.c	2002/12/19 19:56:36	1.124
+++ nautilus/libnautilus-private/nautilus-icon-dnd.c	2003/02/08 11:11:53
@@ -740,14 +740,12 @@ confirm_switch_to_manual_layout (Nautilu
 			"Do you want to switch to manual layout and leave these items where you dropped them?");
 		}
 	}
 
 	dialog = eel_show_yes_no_dialog (message, _("Switch to Manual Layout?"),
-					 _("Switch"), GTK_STOCK_CANCEL,
-					 GTK_WINDOW (gtk_widget_get_ancestor 
-						     (GTK_WIDGET (container), GTK_TYPE_WINDOW)));
-	
+					 _("Switch"), GTK_STOCK_CANCEL, 
+					 GTK_WINDOW (gtk_widget_get_toplevel(GTK_WIDGET(container))));				 
 	response = gtk_dialog_run (dialog);
 	gtk_object_destroy (GTK_OBJECT (dialog));
 
 	return response == GTK_RESPONSE_YES;
 }
