diff libpurple/protocols/jabber/si.c @ 29783:afe5c224f3e9

Add code to generate a thumbnail (only fully works with GDK 2.4+ so far)
author Marcus Lundblad <ml@update.uu.se>
date Thu, 25 Jun 2009 20:46:11 +0000
parents 38c4973b5222
children 7d8b074feda2
line wrap: on
line diff
--- a/libpurple/protocols/jabber/si.c	Tue Jun 23 21:33:10 2009 +0000
+++ b/libpurple/protocols/jabber/si.c	Thu Jun 25 20:46:11 2009 +0000
@@ -1260,7 +1260,8 @@
 	char buf[32];
 
 	xfer->filename = g_path_get_basename(xfer->local_filename);
-
+	purple_xfer_prepare_thumbnail(xfer);
+	
 	iq = jabber_iq_new(jsx->js, JABBER_IQ_SET);
 	xmlnode_set_attrib(iq->node, "to", xfer->who);
 	si = xmlnode_new_child(iq->node, "si");