Mercurial > geeqie.yaz
diff src/bar_comment.c @ 1498:5f49f305a6b6
improved debug messages
author | nadvornik |
---|---|
date | Tue, 31 Mar 2009 20:05:16 +0000 |
parents | ac7ae6fc6d49 |
children | 7f91f906f9c2 |
line wrap: on
line diff
--- a/src/bar_comment.c Tue Mar 31 19:34:39 2009 +0000 +++ b/src/bar_comment.c Tue Mar 31 20:05:16 2009 +0000 @@ -162,7 +162,12 @@ static void bar_pane_comment_notify_cb(FileData *fd, NotifyType type, gpointer data) { PaneCommentData *pcd = data; - if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_METADATA)) && fd == pcd->fd) bar_pane_comment_update(pcd); + if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_METADATA)) && fd == pcd->fd) + { + DEBUG_1("Notify pane_comment: %s %04x", fd->path, type); + + bar_pane_comment_update(pcd); + } } static void bar_pane_comment_changed(GtkTextBuffer *buffer, gpointer data)