changeset 9941:426b623ffe16

[gaim-migrate @ 10833] " A MSN Messenger 6.2 user tries to send me a file. GAIM (0.79 on WinXP SP1 US-English) pops up the FT window. I click to cancel the request. So far so good. However, two things are going wrong: 1. The MSN Messenger user does not get a notification that I have not accepted his/her request. 2. As soon as the MSN Messenger user clicks on the cancel link to cancel the FT from his/her side GAIM crashes." --Sig Weber "The following patch should fix this bug: http://www.butfer.com/gaim-patches/fill_filename_when_sending_fil e.patch" --datallah committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 03 Sep 2004 00:17:27 +0000
parents 77a9f7e5516c
children 3941c39ccff5
files src/ft.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ft.c	Thu Sep 02 19:45:15 2004 +0000
+++ b/src/ft.c	Fri Sep 03 00:17:27 2004 +0000
@@ -366,6 +366,7 @@
 		}
 
 		gaim_xfer_set_local_filename(xfer, filename);
+		gaim_xfer_set_filename(xfer, g_basename(filename));
 		gaim_xfer_set_size(xfer, st.st_size);
 		
 		msg = g_strdup_printf(_("Offering to send %s to %s"),