[Commits] fancy_viewer.c 1.1.2.9 1.1.2.10

colin at claws-mail.org colin at claws-mail.org
Fri Mar 15 10:33:29 CET 2013


Update of /home/claws-mail/claws/src/plugins/fancy
In directory srv:/tmp/cvs-serv24969/src/plugins/fancy

Modified Files:
      Tag: gtk2
	fancy_viewer.c 
Log Message:
2013-03-15 [colin]	3.9.0cvs126

	* src/plugins/fancy/fancy_viewer.c
		Fix attached images URIs generation
	* src/plugins/vcalendar/vcal_folder.c
		Fix crash on NULL uri

Index: fancy_viewer.c
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/fancy/Attic/fancy_viewer.c,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -u -d -r1.1.2.9 -r1.1.2.10
--- fancy_viewer.c	14 Mar 2013 17:36:51 -0000	1.1.2.9
+++ fancy_viewer.c	15 Mar 2013 09:33:27 -0000	1.1.2.10
@@ -414,7 +414,7 @@
 				if ((err = procmime_get_part(filename, partinfo)) < 0)
 					alertpanel_error(_("Couldn't save the part of multipart message: %s"),
 										strerror(-err));
-				gchar *file_uri = g_strconcat("file://", filename, NULL);
+				gchar *file_uri = g_filename_to_uri(filename, NULL, NULL);
 				webkit_network_request_set_uri(request, file_uri);
 				g_free(file_uri);
 				g_free(filename);



More information about the Commits mailing list