Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/thumbnailer/evince-thumbnailer.c
Commit message (Collapse)AuthorAgeFilesLines
* Change api to lookup from uri. Do fast lookup first, if the type isMarco Pesenti Gritti2005-05-081-8/+4
| | | | | | | | | | | | | | | | 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-document-types.c: (get_slow_mime_type), (get_document_type_from_mime), (ev_document_type_lookup): * shell/ev-document-types.h: Change api to lookup from uri. Do fast lookup first, if the type is unknown try with data sniffing. * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Adapt to api change
* Thumbnail page 0Marco Pesenti Gritti2005-04-191-1/+1
| | | | | | | | 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com> * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Thumbnail page 0
* New files, handling the mapping from mimetypes to backendsDavid Malcolm2005-04-181-25/+40
| | | | | | | | | | | | | | | | | | | | 2005-04-18 David Malcolm <dmalcolm@redhat.com> * shell/ev-document-types.h: * shell/ev-document-types.c: New files, handling the mapping from mimetypes to backends * shell/ev-window.c: * thumbnailer/evince-thumbnailer.c: Use the ev-document-types code * shell/Makefile.am: Added new convenience library libevbackendfactory_la, containing the new mimetype->backend logic; moved the backends into it. * thumbnailer/Makefile.am: Make the thumbnailer link with the libevbackend.la convenience library, rather than having a duplicate of the backend logic here.
* Initialize GError to NULL, fix a crash when loading fails.Marco Pesenti Gritti2005-04-161-1/+1
| | | | | | | | 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com> * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Initialize GError to NULL, fix a crash when loading fails.
* s/pdf-document/ev-popplerMarco Pesenti Gritti2005-04-061-1/+1
| | | | | | | | | | 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com> * po/POTFILES.in: * shell/ev-window.c: * thumbnailer/evince-thumbnailer.c: s/pdf-document/ev-poppler
* Fix here also the thumbnails 1-basedness :)Fernando Herrera2005-03-131-1/+1
| | | | | | | | 2005-03-13 Fernando Herrera <fherrera@onirica.com> * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Fix here also the thumbnails 1-basedness :)
* add -s option for thumbnail size.Fernando Herrera2005-03-081-7/+24
| | | | | | | | 2005-03-08 Fernando Herrera <fherrera@onirica.com> * thumbnailer/evince-thumbnailer.schemas: * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get), (main): add -s option for thumbnail size.
* Rework API a bit. Add a border flag and change sizing logic (now the sizeMarco Pesenti Gritti2005-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | 2005-03-07 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_thumbnail): * backend/ev-document-thumbnails.h: Rework API a bit. Add a border flag and change sizing logic (now the size we specify applies to the bigger dimension). * pdf/pdf-document.cc: * pixbuf/pixbuf-document.c: (pixbuf_document_thumbnails_get_thumbnail): * shell/ev-sidebar-thumbnails.c: (do_one_iteration): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Adapt to the new API and do not draw a border for nautilus thumbnailer.
* take thumbnails from page "0" instead of "1". Added a copyright header.Fernando Herrera2005-03-031-1/+21
| | | | | | | 2005-03-03 Fernando Herrera <fherrera@onirica.com> * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): take thumbnails from page "0" instead of "1". Added a copyright header.
* Add a nautilus thumbnailer. Based on patch by Fernando HerreraMarco Pesenti Gritti2005-03-031-0/+99
2005-03-03 Marco Pesenti Gritti <marco@gnome.org> * Makefile.am: * configure.ac: * pdf/.cvsignore: * pdf/pdf-document.cc: * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get), (main): * thumbnailer/evince-thumbnailer.schemas: * thumbnailer/pdf-icon.png: Add a nautilus thumbnailer. Based on patch by Fernando Herrera <fherrera@onirica.com>.