$NetBSD: patch-ah,v 1.1 2007/12/16 11:39:43 drochner Exp $ --- libdocument/ev-attachment.c.orig 2007-12-16 10:40:27.000000000 +0100 +++ libdocument/ev-attachment.c @@ -396,7 +396,7 @@ ev_attachment_open (EvAttachment *attach if (ev_attachment_save (attachment, uri, error)) { if (attachment->priv->tmp_uri) g_free (attachment->priv->tmp_uri); - attachment->priv->tmp_uri = g_strdup (filename); + attachment->priv->tmp_uri = g_strdup (uri); retval = ev_attachment_launch_app (attachment, error); }