From 367572b907d1cd970135e546b3237522b9720c7d Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sun, 3 Apr 2011 20:53:40 -0400 Subject: [PATCH] application: don't redirect windows on computer:// when unmounting It's confusing now that we don't have a desktop. Redirect to the user home instead. This also has the side effect of fixing https://bugzilla.gnome.org/show_bug.cgi?id=615963 --- src/nautilus-application.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nautilus-application.c b/src/nautilus-application.c index 1f7ff0d45..cf9fa79be 100644 --- a/src/nautilus-application.c +++ b/src/nautilus-application.c @@ -830,7 +830,7 @@ mount_removed_callback (GVolumeMonitor *monitor, slot != force_no_close_slot) { nautilus_window_pane_slot_close (slot->pane, slot); } else { - computer = g_file_new_for_uri ("computer:///"); + computer = g_file_new_for_path (g_get_home_dir ()); nautilus_window_slot_go_to (slot, computer, FALSE); g_object_unref(computer); }