[PATCH] Bug 383840 =?UTF-8?Q?=E2=80=93?= Better default path of open location on the desktop



Hi !

A trivial patch to fix this bug
http://bugzilla.gnome.org/show_bug.cgi?id=383840

	G.

-- 
Guillaume Desmottes <cass skynet be>
Jabber <cassidy jabber belnet be>
GPG 1024D/711E31B1 | 1B5A 1BA8 11AA F0F1 2169  E28A AC55 8671 711E 31B1
Index: src/nautilus-location-dialog.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-location-dialog.c,v
retrieving revision 1.13
diff -u -p -r1.13 nautilus-location-dialog.c
--- src/nautilus-location-dialog.c	22 Mar 2006 02:59:20 -0000	1.13
+++ src/nautilus-location-dialog.c	8 Dec 2006 19:36:36 -0000
@@ -222,7 +222,7 @@ nautilus_location_dialog_new (NautilusWi
 	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_strdup (g_get_home_dir ()));
 		} else {
 			formatted_location = eel_format_uri_for_display (location);
 		}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]