# HG changeset patch # User Daniel Atallah # Date 1109130775 0 # Node ID d93621a98f12809bf8a55290171306cee883b8de # Parent 7283a335cf2331349196f4df8cc87b7cfcd15cd9 [gaim-migrate @ 12106] This was removed when changes were made to specify that the http:// handler should open the file. Judging by the number of bug reports, it is still necessary. committer: Tailor Script diff -r 7283a335cf23 -r d93621a98f12 src/protocols/msn/notification.c --- a/src/protocols/msn/notification.c Wed Feb 23 02:57:41 2005 +0000 +++ b/src/protocols/msn/notification.c Wed Feb 23 03:52:55 2005 +0000 @@ -972,6 +972,28 @@ g_free(session->passport_info.file); session->passport_info.file = NULL; } + else + { + /* + * Renaming file with .html extension, so that the + * win32 open_url will work. + */ + char *tmp; + + if ((tmp = + g_strdup_printf("%s.html", + session->passport_info.file)) != NULL) + { + if (g_rename(session->passport_info.file, + tmp) == 0) + { + g_free(session->passport_info.file); + session->passport_info.file = tmp; + } + else + g_free(tmp); + } + } } } /**************************************************************************