diff options
author | Alexander Larsson <alexl@redhat.com> | 2005-12-12 14:39:02 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2005-12-12 14:39:02 +0000 |
commit | 415d9bf66557c658d7513c4c25681d71b766afb7 (patch) | |
tree | d56be39476ec3088553b71f3db4b0065b32e6c17 | |
parent | b76b213429e51d25f02cda088bceff0ceb211703 (diff) | |
download | nautilus-415d9bf66557c658d7513c4c25681d71b766afb7.tar.gz |
Another case where we need to create a saved search file.
2005-12-12 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.c (nautilus_file_new_from_relative_uri):
Another case where we need to create a saved search file.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libnautilus-private/nautilus-file.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2005-12-12 Alexander Larsson <alexl@redhat.com> + * libnautilus-private/nautilus-file.c (nautilus_file_new_from_relative_uri): + Another case where we need to create a saved search file. + +2005-12-12 Alexander Larsson <alexl@redhat.com> + * configure.in: Make it possible to build without beagle. diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c index 210cb43c9..4d3f320c9 100644 --- a/libnautilus-private/nautilus-file.c +++ b/libnautilus-private/nautilus-file.c @@ -208,6 +208,8 @@ nautilus_file_new_from_relative_uri (NautilusDirectory *directory, file = NULL; g_assert_not_reached (); } + } else if (g_str_has_suffix (relative_uri, NAUTILUS_SAVED_SEARCH_EXTENSION)) { + file = NAUTILUS_FILE (g_object_new (NAUTILUS_TYPE_SAVED_SEARCH_FILE, NULL)); } else { file = NAUTILUS_FILE (g_object_new (NAUTILUS_TYPE_VFS_FILE, NULL)); } |