Mercurial > geeqie
comparison src/bar_comment.c @ 1498:5f49f305a6b6
improved debug messages
author | nadvornik |
---|---|
date | Tue, 31 Mar 2009 20:05:16 +0000 |
parents | ac7ae6fc6d49 |
children | 6146ec0c9ab9 |
comparison
equal
deleted
inserted
replaced
1497:2c54f3f71634 | 1498:5f49f305a6b6 |
---|---|
160 } | 160 } |
161 | 161 |
162 static void bar_pane_comment_notify_cb(FileData *fd, NotifyType type, gpointer data) | 162 static void bar_pane_comment_notify_cb(FileData *fd, NotifyType type, gpointer data) |
163 { | 163 { |
164 PaneCommentData *pcd = data; | 164 PaneCommentData *pcd = data; |
165 if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_METADATA)) && fd == pcd->fd) bar_pane_comment_update(pcd); | 165 if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_METADATA)) && fd == pcd->fd) |
166 { | |
167 DEBUG_1("Notify pane_comment: %s %04x", fd->path, type); | |
168 | |
169 bar_pane_comment_update(pcd); | |
170 } | |
166 } | 171 } |
167 | 172 |
168 static void bar_pane_comment_changed(GtkTextBuffer *buffer, gpointer data) | 173 static void bar_pane_comment_changed(GtkTextBuffer *buffer, gpointer data) |
169 { | 174 { |
170 PaneCommentData *pcd = data; | 175 PaneCommentData *pcd = data; |