]> git.sur5r.net Git - glabels/commit
2007-04-10 Jim Evins <evins@snaught.com>
authorJim Evins <evins@snaught.com>
Tue, 10 Apr 2007 14:42:24 +0000 (14:42 +0000)
committerJim Evins <evins@snaught.com>
Tue, 10 Apr 2007 14:42:24 +0000 (14:42 +0000)
commit964caeca001e6f6b7c26d5beb6dc5cc34b7debba
treea72d7e93743669bcdf5f4cb36bb55b91e23ff213
parentb84b6dc42d8058bf402d94381a1c04f000b1eaa5
2007-04-10  Jim Evins  <evins@snaught.com>

* libglabels/template.h:
* libglabels/template.c: (gl_template_get_name_list_unique),
(gl_template_get_name_list_all), (gl_template_from_name):
Modified libglabels to allow you to get a list of all template names
including all aliases or just a list of primary names of each unique
template.
* src/Makefile.am:
* src/file.c: (gl_file_properties):
* src/glabels.c: (main):
* src/mini-preview-pixbuf-cache.h:
* src/mini-preview-pixbuf-cache.c:
* src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
(filter_changed_cb), (load_list):
Added mini-preview pixbuf cache, so that only one mini-preview is
needed for a unique template and gets reused for all aliases.  These
pixbufs will also live for the life of the program so they are not
rebuilt everytime a new label dialog is invoked.
* src/mini-preview-pixbuf.c: (draw_paper),
(draw_rect_label_outline), (draw_round_label_outline),
(draw_cd_label_outline):
Removed some comment artifacts.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@650 f5e0f49d-192f-0410-a22d-a8d8700d0965
glabels2/ChangeLog
glabels2/libglabels/template.c
glabels2/libglabels/template.h
glabels2/src/Makefile.am
glabels2/src/file.c
glabels2/src/glabels.c
glabels2/src/mini-preview-pixbuf-cache.c [new file with mode: 0644]
glabels2/src/mini-preview-pixbuf-cache.h [new file with mode: 0644]
glabels2/src/mini-preview-pixbuf.c
glabels2/src/wdgt-media-select.c