[evince/gnome-2-28] [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/gnome-2-28] [libdocument] Do not require GAppInfo to support uris when opening an attachment
- Date: Mon, 16 Nov 2009 13:30:39 +0000 (UTC)
commit d40e15d24bbe2a660ab009fe3df20685f7b63c7a
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 c1d1333..68a4921 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]