diff options
author | Paolo Borelli <pborelli@katamail.com> | 2006-12-08 09:49:42 +0000 |
---|---|---|
committer | Paolo Borelli <pborelli@src.gnome.org> | 2006-12-08 09:49:42 +0000 |
commit | fca9952aad5a350253c06e83d20604c55b49fc8f (patch) | |
tree | 264c79b0527c6502d28611fec00c175b2858010c /src/nautilus-shell.c | |
parent | 0b0aba3a4de2f96e8308f9e4da22c1c7937eb047 (diff) | |
download | nautilus-fca9952aad5a350253c06e83d20604c55b49fc8f.tar.gz |
Use nautilus_get_home_directory_uri everywhere instead of open coding it
2006-12-08 Paolo Borelli <pborelli@katamail.com>
* libnautilus-private/nautilus-desktop-link.c:
* libnautilus-private/nautilus-file-utilities.c:
* libnautilus-private/nautilus-query.c:
* src/nautilus-navigation-window.c:
* src/nautilus-navigation-window.h:
* src/nautilus-pathbar.c:
* src/nautilus-places-sidebar.c:
* src/nautilus-shell.c:
* src/nautilus-window-manage-views.c:
* src/nautilus-window.c:
* src/file-manager/fm-tree-model.c:
* src/file-manager/fm-tree-view.c:
Use nautilus_get_home_directory_uri everywhere instead of
open coding it and other minor cleanups.
Diffstat (limited to 'src/nautilus-shell.c')
-rw-r--r-- | src/nautilus-shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nautilus-shell.c b/src/nautilus-shell.c index 1ba3f1f51..6938cd254 100644 --- a/src/nautilus-shell.c +++ b/src/nautilus-shell.c @@ -149,8 +149,9 @@ open_window (NautilusShell *shell, const char *uri, const char *startup_id, } } else { home_uri = NULL; + if (uri == NULL) { - home_uri = gnome_vfs_get_uri_from_local_path (g_get_home_dir ()); + home_uri = nautilus_get_home_directory_uri (); uri = home_uri; } |