Index: ps/ps-document.c
===================================================================
RCS file: /cvs/gnome/evince/ps/ps-document.c,v
retrieving revision 1.54
diff -u -r1.54 ps-document.c
--- ps/ps-document.c	29 Jul 2005 16:02:27 -0000	1.54
+++ ps/ps-document.c	4 Aug 2005 14:46:05 -0000
@@ -1091,7 +1091,10 @@
 	FILE *f;
 	gchar *buf;
 
-	pscopydoc (sink, document->gs_filename, document->doc, page_list);
+	if(document->gs_filename_unc != NULL)
+		pscopydoc (sink, document->gs_filename_unc, document->doc, page_list); 
+	else
+		pscopydoc (sink, document->gs_filename, document->doc, page_list);
 	
 	buf = gtk_gs_doc_sink_get_buffer (sink);
 	
