Mercurial > geeqie.yaz
changeset 1489:ac7ae6fc6d49
improved bar_pane_comment_notify_cb
author | nadvornik |
---|---|
date | Sun, 29 Mar 2009 20:06:21 +0000 |
parents | f96cc7807780 |
children | b924293cf6c8 |
files | src/bar_comment.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bar_comment.c Sun Mar 29 19:57:19 2009 +0000 +++ b/src/bar_comment.c Sun Mar 29 20:06:21 2009 +0000 @@ -162,7 +162,7 @@ static void bar_pane_comment_notify_cb(FileData *fd, NotifyType type, gpointer data) { PaneCommentData *pcd = data; - if (fd == pcd->fd) bar_pane_comment_update(pcd); + if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_METADATA)) && fd == pcd->fd) bar_pane_comment_update(pcd); } static void bar_pane_comment_changed(GtkTextBuffer *buffer, gpointer data)