diff options
author | Rebecca Schulman <rebecka@eazel.com> | 2001-01-29 22:57:13 +0000 |
---|---|---|
committer | Rebecca Schulman <rebecka@src.gnome.org> | 2001-01-29 22:57:13 +0000 |
commit | f934e36a57f2db13c01bfbb5fffb2f3b137b2175 (patch) | |
tree | fe057914534c873edddae26bd207a9bc1a0a40b1 /libnautilus-private/nautilus-file-utilities.h | |
parent | 1fc154241efc990ed9ce0824438bfb8d3bd28d1a (diff) | |
download | nautilus-f934e36a57f2db13c01bfbb5fffb2f3b137b2175.tar.gz |
reviewed by: Darin Adler <darin@eazel.com>
2001-01-29 Rebecca Schulman <rebecka@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-program-choosing.c:
Launch an application with a uri as a parameter for
applications that accept uris for all locations, and
non-file parameters where applications expect
uris for non-file locations. This fixes bug 4962,
"Open with mpg123 fails for local files"
* libnautilus-extensins/nautilus-file-utilities.h:
* libnautilus-extensins/nautilus-file-utilities.c
(nautilus_uri_get_scheme), (nautilus_uri_is_local_scheme):
Add new uri_get_scheme function and fix a lack of
colons in the nautilus_uri_is_local_scheme function
that was causing us to do a istr_has_prefix (uri, "file")
to check if a uri was of scheme file.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_uri_scheme) refactor the code in here
to use the nautilus_uri_get_scheme function
Diffstat (limited to 'libnautilus-private/nautilus-file-utilities.h')
-rw-r--r-- | libnautilus-private/nautilus-file-utilities.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-file-utilities.h b/libnautilus-private/nautilus-file-utilities.h index 9fb67765f..32035c329 100644 --- a/libnautilus-private/nautilus-file-utilities.h +++ b/libnautilus-private/nautilus-file-utilities.h @@ -45,7 +45,7 @@ char * nautilus_make_uri_canonical (const char gboolean nautilus_uris_match (const char *uri_1, const char *uri_2); char * nautilus_uri_get_basename (const char *uri); - +char * nautilus_uri_get_scheme (const char *uri); /* FIXME bugzilla.eazel.com 2424: * This is the same as gnome-libs g_concat_dir_and_file except |