• Carlos Garcia Campos's avatar
    Use an EvRenderContext for rendering thumbnails instead of a suggested · 1d615023
    Carlos Garcia Campos authored
    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
    1d615023
ev-document-misc.c 3.28 KB