diff src/image.c @ 1498:5f49f305a6b6

improved debug messages
author nadvornik
date Tue, 31 Mar 2009 20:05:16 +0000
parents dac747d99394
children b5608391f479
line wrap: on
line diff
--- a/src/image.c	Tue Mar 31 19:34:39 2009 +0000
+++ b/src/image.c	Tue Mar 31 20:05:16 2009 +0000
@@ -528,7 +528,7 @@
 		image_change_pixbuf(imd, imd->image_fd->pixbuf, image_zoom_get(imd), FALSE);
 		}
 	
-	file_cache_dump(image_get_cache());
+//	file_cache_dump(image_get_cache());
 	return success;
 }
 
@@ -1394,6 +1394,7 @@
 
 	if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE)) && fd == imd->image_fd)
 		{
+		DEBUG_1("Notify image: %s %04x", fd->path, type);
 		image_reload(imd);
 		}
 }