Commit 72884ab1 authored by Alex Graveley's avatar Alex Graveley Committed by Alex Graveley

Fix typo which was horking monitors.

2002-05-24  Alex Graveley  <alex@ximian.com>

	* libnautilus-private/nautilus-monitor.c (monitor_add_internal):
	Fix typo which was horking monitors.
parent 9d37ba70
2002-05-24 Alex Graveley <alex@ximian.com>
* libnautilus-private/nautilus-monitor.c (monitor_add_internal):
Fix typo which was horking monitors.
2002-05-23 Alex Graveley <alex@ximian.com>
* libnautilus-private/nautilus-link-desktop-file.c
......
......@@ -131,8 +131,13 @@ monitor_add_internal (const char *uri, gboolean is_directory)
GnomeVFSResult result;
path = gnome_vfs_get_local_path_from_uri (uri);
if (path != NULL &&
path_is_on_readonly_volume (path) == FALSE) {
/*
* Don't monitor URIs on a read-only volume.
* This is a hack to avoid FAM keeping open fds to CD-ROMs,
* causing unmount/eject to fail.
*/
if (path != NULL && path_is_on_readonly_volume (path) == TRUE) {
g_free (path);
return NULL;
}
......
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