bbc94a
--- gnome-applets-2.16.2/trashapplet/src/trashapplet.c.trash-screen	2006-12-05 16:33:56.000000000 -0500
bbc94a
+++ gnome-applets-2.16.2/trashapplet/src/trashapplet.c	2006-12-05 16:32:41.000000000 -0500
bbc94a
@@ -669,6 +669,8 @@
bbc94a
 			  TrashApplet       *applet,
bbc94a
 			  const gchar       *cname)
bbc94a
 {
bbc94a
+	GdkScreen *screen;
bbc94a
+
bbc94a
 	/* Open the "trash:" URI with gnome-open */
bbc94a
 	gchar *argv[] = { "gnome-open", "trash:", NULL };
bbc94a
 	GError *err = NULL;
bbc94a
@@ -676,12 +678,13 @@
bbc94a
 
bbc94a
         g_return_if_fail (TRASH_IS_APPLET (applet));
bbc94a
 
bbc94a
-	res = g_spawn_async (NULL,
bbc94a
-			     argv, NULL,
bbc94a
-			     G_SPAWN_SEARCH_PATH,
bbc94a
-			     NULL, NULL,
bbc94a
-			     NULL,
bbc94a
-			     &err;;
bbc94a
+	screen = gtk_widget_get_screen (GTK_WIDGET (applet));
bbc94a
+	res = gdk_spawn_on_screen (screen, NULL,
bbc94a
+			           argv, NULL,
bbc94a
+			           G_SPAWN_SEARCH_PATH,
bbc94a
+			           NULL, NULL,
bbc94a
+			           NULL,
bbc94a
+			           &err;;
bbc94a
 	
bbc94a
 	if (! res) {
bbc94a
 		error_dialog (applet, _("Error while spawning nautilus:\n%s"),