Revision: 1585
http://geeqie.svn.sourceforge.net/geeqie/?rev=1585&view=rev
Author: nadvornik
Date: 2009-03-29 20:06:21 +0000 (Sun, 29 Mar 2009)
Log Message:
-----------
improved bar_pane_comment_notify_cb
Modified Paths:
--------------
trunk/src/bar_comment.c
Modified: trunk/src/bar_comment.c
===================================================================
--- trunk/src/bar_comment.c 2009-03-29 19:57:19 UTC (rev 1584)
+++ trunk/src/bar_comment.c 2009-03-29 20:06:21 UTC (rev 1585)
@@ -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)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn