From 63c94320e22a52c443f063092dee5256042eff52 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sat, 5 May 2007 18:05:32 +0000 Subject: [PATCH] 2007-05-05 Jim Evins * src/template-designer.c: (apply_cb): Add new template to mini-preview pixbuf cache. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@659 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/ChangeLog | 5 +++++ glabels2/src/template-designer.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index 2439da75..1e6aa4b2 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,8 @@ +2007-05-05 Jim Evins + + * src/template-designer.c: (apply_cb): + Add new template to mini-preview pixbuf cache. + 2007-05-03 Jim Evins * src/label-image.c: (gl_label_image_init), (draw_object): diff --git a/glabels2/src/template-designer.c b/glabels2/src/template-designer.c index fe1aa943..490ea2da 100644 --- a/glabels2/src/template-designer.c +++ b/glabels2/src/template-designer.c @@ -38,6 +38,7 @@ #include #include #include "wdgt-mini-preview.h" +#include "mini-preview-pixbuf-cache.h" #include "print-op.h" #include "util.h" @@ -1112,7 +1113,7 @@ apply_cb (glTemplateDesigner *dialog) template = build_template (dialog); gl_template_register (template); - + gl_mini_preview_pixbuf_cache_add_by_name (template->name); } /*--------------------------------------------------------------------------*/ -- 2.39.5