[evince] [libdocument] Do not require GAppInfo to support uris when opening an attachment
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evince] [libdocument] Do not require GAppInfo to support uris when opening an attachment
- Date: Mon, 16 Nov 2009 13:31:19 +0000 (UTC)
commit 43f607bda8eef3648f018e433647172603ea1a7f
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Mon Nov 16 12:53:06 2009 +0100
[libdocument] Do not require GAppInfo to support uris when opening an attachment
We are already saving the attachment to a local temp file.
libdocument/ev-attachment.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libdocument/ev-attachment.c b/libdocument/ev-attachment.c
index b792b5f..0e9653d 100644
--- a/libdocument/ev-attachment.c
+++ b/libdocument/ev-attachment.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]