]> www.fi.muni.cz Git - evince.git/commit
Use an EvRenderContext for rendering thumbnails instead of a suggested
authorCarlos Garcia Campos <carlosgc@gnome.org>
Fri, 16 Feb 2007 17:27:12 +0000 (17:27 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Fri, 16 Feb 2007 17:27:12 +0000 (17:27 +0000)
commit1d6150237848b4c1fede94ce23baa4fd8870fd93
tree7a607e0263e6b40591b31885b561f2192b7b6695
parent76f055907e4eab82025f28cd0e813eb39713bf5b
Use an EvRenderContext for rendering thumbnails instead of a suggested

2007-02-16  Carlos Garcia Campos  <carlosgc@gnome.org>
* backend/dvi/dvi-document.c:
(dvi_document_thumbnails_get_dimensions),
(dvi_document_thumbnails_get_thumbnail):
* backend/impress/impress-document.c:
(impress_document_thumbnails_get_thumbnail),
(impress_document_thumbnails_get_dimensions):
* backend/ps/ps-document.c: (ps_document_thumbnails_get_thumbnail),
(ps_document_thumbnails_get_dimensions):
* backend/djvu/djvu-document.c:
(djvu_document_thumbnails_get_dimensions),
(djvu_document_thumbnails_get_thumbnail):
* backend/tiff/tiff-document.c:
(tiff_document_thumbnails_get_thumbnail),
(tiff_document_thumbnails_get_dimensions):
* backend/pdf/ev-poppler.cc: (make_thumbnail_for_page),
(pdf_document_thumbnails_get_thumbnail),
(pdf_document_thumbnails_get_dimensions):
* backend/comics/comics-document.c:
(comics_document_thumbnails_get_thumbnail),
(comics_document_thumbnails_get_dimensions):
* backend/pixbuf/pixbuf-document.c:
(pixbuf_document_thumbnails_get_thumbnail),
(pixbuf_document_thumbnails_get_dimensions):
* libdocument/ev-document-thumbnails.[ch]:
(ev_document_thumbnails_get_thumbnail),
(ev_document_thumbnails_get_dimensions):
* libdocument/ev-document-misc.[ch]:
(ev_document_misc_get_thumbnail_frame):
* shell/ev-jobs.[ch]: (ev_job_thumbnail_dispose),
(ev_job_thumbnail_new), (ev_job_thumbnail_run):
* shell/ev-sidebar-thumbnails.c: (get_scale_for_page), (add_range),
(ev_sidebar_thumbnails_set_loading_icon), (refresh),
(ev_sidebar_thumbnails_refresh):
* shell/ev-window.c: (ev_window_setup_document):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Use an EvRenderContext for rendering thumbnails instead of a suggested
width, so that different sized pages get sized proportionally.

svn path=/trunk/; revision=2332
18 files changed:
ChangeLog
backend/comics/comics-document.c
backend/djvu/djvu-document.c
backend/dvi/dvi-document.c
backend/impress/impress-document.c
backend/pdf/ev-poppler.cc
backend/pixbuf/pixbuf-document.c
backend/ps/ps-document.c
backend/tiff/tiff-document.c
libdocument/ev-document-misc.c
libdocument/ev-document-misc.h
libdocument/ev-document-thumbnails.c
libdocument/ev-document-thumbnails.h
shell/ev-jobs.c
shell/ev-jobs.h
shell/ev-sidebar-thumbnails.c
shell/ev-window.c
thumbnailer/evince-thumbnailer.c