diff src/filedata.c @ 903:c93823609f15

periodic testing of changed files can be now disabled
author nadvornik
date Sun, 20 Jul 2008 15:04:40 +0000
parents 5d9c0b4e6d5f
children b394ecbf3dca
line wrap: on
line diff
--- a/src/filedata.c	Sun Jul 20 14:56:32 2008 +0000
+++ b/src/filedata.c	Sun Jul 20 15:04:40 2008 +0000
@@ -1797,6 +1797,7 @@
 
 static gboolean realtime_monitor_cb(gpointer data)
 {
+	if (!options->update_on_time_change) return TRUE;
 	g_hash_table_foreach(file_data_monitor_pool, realtime_monitor_check_cb, NULL);
 	return TRUE;
 }