summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nautilus-location-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-location-dialog.c b/src/nautilus-location-dialog.c
index 44a4f78cb..490507a39 100644
--- a/src/nautilus-location-dialog.c
+++ b/src/nautilus-location-dialog.c
@@ -222,7 +222,7 @@ nautilus_location_dialog_new (NautilusWindow *window)
location = nautilus_window_get_location (window);
if (location != NULL) {
if (NAUTILUS_IS_DESKTOP_WINDOW (window)) {
- formatted_location = nautilus_get_desktop_directory ();
+ formatted_location = g_strdup_printf ("%s/", g_get_home_dir ());
} else {
formatted_location = eel_format_uri_for_display (location);
}