summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2006-12-12 10:44:32 +0000
committerAlexander Larsson <alexl@src.gnome.org>2006-12-12 10:44:32 +0000
commitdc973c60b7b443f7c676c20f86f554f0b54cb1bb (patch)
tree0d507d205ca5ba62ed1bceb24f9a131750a827bc /src
parent35fc8928b475fa53b55d3c98600c3dbbd6e80972 (diff)
downloadnautilus-dc973c60b7b443f7c676c20f86f554f0b54cb1bb.tar.gz
Default location dialog to $home for desktop (#383840) Patch from
2006-12-12 Alexander Larsson <alexl@redhat.com> * src/nautilus-location-dialog.c: (nautilus_location_dialog_new): Default location dialog to $home for desktop (#383840) Patch from Guillaume Desmottes
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);
}