]> www.fi.muni.cz Git - evince.git/commitdiff
[libdocument] Do not require GAppInfo to support uris when opening an attachment
authorCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 16 Nov 2009 11:53:06 +0000 (12:53 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 16 Nov 2009 13:28:49 +0000 (14:28 +0100)
We are already saving the attachment to a local temp file.

libdocument/ev-attachment.c

index b792b5ff932761f4ea2ac8cef41178d74faca559..0e9653dc4312910c61e13fc166398a2c5642cc89 100644 (file)
@@ -397,7 +397,7 @@ ev_attachment_open (EvAttachment *attachment,
        g_return_val_if_fail (EV_IS_ATTACHMENT (attachment), FALSE);
        
        if (!attachment->priv->app) {
-               app_info = g_app_info_get_default_for_type (attachment->priv->mime_type, TRUE);
+               app_info = g_app_info_get_default_for_type (attachment->priv->mime_type, FALSE);
                attachment->priv->app = app_info;
        }