Mercurial > geeqie.yaz
comparison src/image-overlay.c @ 888:d8e1e820cee7
reload changed images
author | nadvornik |
---|---|
date | Thu, 17 Jul 2008 21:51:21 +0000 |
parents | e418c33a49c8 |
children | 323dab9321bb |
comparison
equal
deleted
inserted
replaced
887:e418c33a49c8 | 888:d8e1e820cee7 |
---|---|
518 } | 518 } |
519 | 519 |
520 osd_template_insert(vars, "number", g_strdup_printf("%d", n), OSDT_NO_DUP); | 520 osd_template_insert(vars, "number", g_strdup_printf("%d", n), OSDT_NO_DUP); |
521 osd_template_insert(vars, "total", g_strdup_printf("%d", t), OSDT_NO_DUP); | 521 osd_template_insert(vars, "total", g_strdup_printf("%d", t), OSDT_NO_DUP); |
522 osd_template_insert(vars, "name", (gchar *) name, OSDT_NONE); | 522 osd_template_insert(vars, "name", (gchar *) name, OSDT_NONE); |
523 osd_template_insert(vars, "date", (gchar *) text_from_time(imd->mtime), OSDT_NONE); | 523 osd_template_insert(vars, "date", imd->image_fd ? ((gchar *) text_from_time(imd->image_fd->date)) : "", OSDT_NONE); |
524 osd_template_insert(vars, "size", text_from_size_abrev(imd->size), OSDT_FREE); | 524 osd_template_insert(vars, "size", imd->image_fd ? (text_from_size_abrev(imd->image_fd->size)) : g_strdup(""), OSDT_FREE); |
525 osd_template_insert(vars, "zoom", image_zoom_get_as_text(imd), OSDT_FREE); | 525 osd_template_insert(vars, "zoom", image_zoom_get_as_text(imd), OSDT_FREE); |
526 | 526 |
527 if (!imd->unknown) | 527 if (!imd->unknown) |
528 { | 528 { |
529 gint w, h; | 529 gint w, h; |