Mercurial > geeqie
changeset 1450:ba0cd2792260
improved pane_keywords notification
author | nadvornik |
---|---|
date | Sun, 15 Mar 2009 23:22:17 +0000 |
parents | 76da5ba54a1d |
children | 0e67a5992d51 |
files | src/bar_keywords.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bar_keywords.c Sun Mar 15 22:46:25 2009 +0000 +++ b/src/bar_keywords.c Sun Mar 15 23:22:17 2009 +0000 @@ -413,7 +413,7 @@ static void bar_pane_keywords_notify_cb(FileData *fd, NotifyType type, gpointer data) { PaneKeywordsData *pkd = data; - if (fd == pkd->fd) bar_pane_keywords_update(pkd); + if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_METADATA)) && fd == pkd->fd) bar_pane_keywords_update(pkd); } static void bar_pane_keywords_changed(GtkTextBuffer *buffer, gpointer data)