projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93fcf6a
)
improved bar_pane_comment_notify_cb
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 29 Mar 2009 20:06:21 +0000
(20:06 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 29 Mar 2009 20:06:21 +0000
(20:06 +0000)
src/bar_comment.c
patch
|
blob
|
history
diff --git
a/src/bar_comment.c
b/src/bar_comment.c
index
f0ded3a
..
0a65aa7
100644
(file)
--- a/
src/bar_comment.c
+++ b/
src/bar_comment.c
@@
-162,7
+162,7
@@
static void bar_pane_comment_write_config(GtkWidget *pane, GString *outstr, gint
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)