mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
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
This commit is contained in:
parent
b37f08ef61
commit
367572b907
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue