Commit e8362fdc authored by Darin Adler's avatar Darin Adler

Move inside #ifdef HAVE_FAM.

	* libnautilus-private/nautilus-monitor.c:
	(path_is_on_readonly_volume): Move inside #ifdef HAVE_FAM.
parent 9f3b8544
2001-09-14 Darin Adler <darin@bentspoon.com>
* libnautilus-private/nautilus-monitor.c:
(path_is_on_readonly_volume): Move inside #ifdef HAVE_FAM.
2001-09-05 Alex Larsson <alexl@redhat.com>
Merge some stuff from the redhat-outstanding-patches branch
......
......@@ -221,6 +221,17 @@ process_fam_notifications (GIOChannel *channel,
return TRUE;
}
static gboolean
path_is_on_readonly_volume (const char *path)
{
NautilusVolumeMonitor *volume_monitor;
NautilusVolume *volume;
volume_monitor = nautilus_volume_monitor_get ();
volume = nautilus_volume_monitor_get_volume_for_path (volume_monitor, path);
return (volume != NULL) && nautilus_volume_is_read_only (volume);
}
#endif /* HAVE_LIBFAM */
gboolean
......@@ -233,17 +244,6 @@ nautilus_monitor_active (void)
#endif
}
static gboolean
path_is_on_readonly_volume (const char *path)
{
NautilusVolumeMonitor *volume_monitor;
NautilusVolume *volume;
volume_monitor = nautilus_volume_monitor_get ();
volume = nautilus_volume_monitor_get_volume_for_path (volume_monitor, path);
return (volume != NULL) && nautilus_volume_is_read_only (volume);
}
NautilusMonitor *
nautilus_monitor_file (const char *uri)
{
......
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