From a5e3f1314e7e27fb0e765b3b9b8e1deb92c7c536 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 08 May 2005 18:26:01 +0000 Subject: Change api to lookup from uri. Do fast lookup first, if the type is 2005-05-08 Marco Pesenti Gritti * 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 --- (limited to 'ps') -- cgit v0.9.1