diff src/bar_histogram.c @ 1498:5f49f305a6b6

improved debug messages
author nadvornik
date Tue, 31 Mar 2009 20:05:16 +0000
parents 0e82a03c165b
children 24a12aa0cb54
line wrap: on
line diff
--- a/src/bar_histogram.c	Tue Mar 31 19:34:39 2009 +0000
+++ b/src/bar_histogram.c	Tue Mar 31 20:05:16 2009 +0000
@@ -130,7 +130,11 @@
 static void bar_pane_histogram_notify_cb(FileData *fd, NotifyType type, gpointer data)
 {
 	PaneHistogramData *phd = data;
-	if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_HISTMAP | NOTIFY_PIXBUF)) && fd == phd->fd) bar_pane_histogram_update(phd);
+	if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_HISTMAP | NOTIFY_PIXBUF)) && fd == phd->fd) 
+		{
+		DEBUG_1("Notify pane_histogram: %s %04x", fd->path, type);
+		bar_pane_histogram_update(phd);
+		}
 }
 
 static gboolean bar_pane_histogram_expose_event_cb(GtkWidget *widget, GdkEventExpose *event, gpointer data)