Mercurial > geeqie.yaz
changeset 911:8adf248bf5c9
fixed stop button in editor dialog
author | nadvornik |
---|---|
date | Tue, 22 Jul 2008 17:57:22 +0000 |
parents | b394ecbf3dca |
children | 9108a7158c02 |
files | src/editors.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editors.c Tue Jul 22 17:40:24 2008 +0000 +++ b/src/editors.c Tue Jul 22 17:57:22 2008 +0000 @@ -727,7 +727,10 @@ ed->list = g_list_remove_link(ed->list, fd_element); if (ed->callback) + { cont = ed->callback(ed->list ? ed : NULL, ed->flags, fd_element, ed->data); + if (ed->stopping && cont == EDITOR_CB_CONTINUE) cont = EDITOR_CB_SKIP; + } filelist_free(fd_element); } else