[nautilus] application: don't redirect windows on computer:// when unmounting
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] application: don't redirect windows on computer:// when unmounting
- Date: Mon, 4 Apr 2011 17:39:08 +0000 (UTC)
commit 367572b907d1cd970135e546b3237522b9720c7d
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Apr 3 20:53:40 2011 -0400
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index 1f7ff0d..cf9fa79 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]