diff options
author | Darin Adler <darin@src.gnome.org> | 2000-08-30 23:38:58 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2000-08-30 23:38:58 +0000 |
commit | 55c0ee3bef80f090624478cb4522e2c62e0e821c (patch) | |
tree | 8afefa1adf22591edeae0282ed5da994d3ad9380 /libnautilus-extensions/nautilus-link.c | |
parent | 59ebd6ec588b760b2e610927b902540d7f2d37a1 (diff) | |
download | nautilus-55c0ee3bef80f090624478cb4522e2c62e0e821c.tar.gz |
Use escape function in gnome-vfs instead of one in Nautilus.
* libnautilus-extensions/nautilus-directory.c:
(construct_private_metafile_uri), (nautilus_self_check_directory):
* libnautilus-extensions/nautilus-icon-factory.c:
(make_thumbnail_path):
* libnautilus-extensions/nautilus-link.c: (make_local_path):
Use escape function in gnome-vfs instead of one in Nautilus.
* libnautilus-extensions/nautilus-string.h:
* libnautilus-extensions/nautilus-string.c:
(nautilus_str_strip_chr), (nautilus_str_double_underscores),
(nautilus_str_middle_truncate): Use g_new instead of g_malloc.
Helps get rid of silly "sizeof (char)" business.
Remove nautilus_str_escape_slashes.
Diffstat (limited to 'libnautilus-extensions/nautilus-link.c')
-rw-r--r-- | libnautilus-extensions/nautilus-link.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libnautilus-extensions/nautilus-link.c b/libnautilus-extensions/nautilus-link.c index fd8cb3653..d3130a503 100644 --- a/libnautilus-extensions/nautilus-link.c +++ b/libnautilus-extensions/nautilus-link.c @@ -278,7 +278,7 @@ make_local_path (const char *image_uri) * URIs with slashes in it and other cases like that. */ /* FIXME bugzilla.eazel.com 2493: Why the +7 below? This seems totally wrong. */ - escaped_uri = nautilus_str_escape_slashes (unescaped_uri + 7); + escaped_uri = gnome_vfs_escape_slashes (unescaped_uri + 7); g_free (unescaped_uri); local_directory_path = g_strconcat @@ -288,6 +288,7 @@ make_local_path (const char *image_uri) /* We must create the directory if it doesn't exist. */ /* FIXME bugzilla.eazel.com 2494: Is it OK to ignore the error here? */ + /* FIXME: This needs to make the path into a URI if it's going to use gnome_vfs. */ gnome_vfs_make_directory (local_directory_path, REMOTE_ICON_DIR_PERMISSIONS); local_file_path = nautilus_make_path (local_directory_path, escaped_uri); |