Commit 84ae5f64 authored by Andy Hertzfeld's avatar Andy Hertzfeld

made the initial path be the user's home directory.


        made the initial path be the user's home directory.
parent c37abc45
1999-12-15 Andy Hertzfeld <andy@eazel.com>
* my first change: changed ntl-window-state.c
(nautilus_window_set_initial_state): changed initial path
to be the user's home directory, getting rid of confusing "localhost"
1999-12-15 Elliot Lee <sopwith@redhat.com>
* configure.in: Add --enable-more-warnings and --enable-fatal-warnings switches.
......
......@@ -3,7 +3,10 @@
void
nautilus_window_set_initial_state(NautilusWindow *window)
{
nautilus_window_goto_url(window, "file://localhost/");
GString* path_name = g_string_new("file://");
g_string_append(path_name, g_get_home_dir());
nautilus_window_goto_url(window, path_name->str);
g_string_free(path_name, TRUE);
}
void
......
......@@ -3,7 +3,10 @@
void
nautilus_window_set_initial_state(NautilusWindow *window)
{
nautilus_window_goto_url(window, "file://localhost/");
GString* path_name = g_string_new("file://");
g_string_append(path_name, g_get_home_dir());
nautilus_window_goto_url(window, path_name->str);
g_string_free(path_name, TRUE);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment