Mercurial > pidgin.yaz
comparison pidgin/gtkconv.c @ 27906:6ecfc6b9667c
propagate from branch 'im.pidgin.pidgin' (head ca4b6e987b967927b0f8bd001bc33440a6885000)
to branch 'im.pidgin.pidgin.yaz' (head 7a92169e2ac82026d2b2918ed9662c7fd42e3280)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 17 Nov 2008 06:15:33 +0000 |
parents | 45ce87f9a07f dd155ec42b25 |
children | a063901a5499 |
comparison
equal
deleted
inserted
replaced
27905:45ce87f9a07f | 27906:6ecfc6b9667c |
---|---|
1025 purple_notify_error(PIDGIN_CONVERSATION(conv), NULL, _("Unable to open file."), NULL); | 1025 purple_notify_error(PIDGIN_CONVERSATION(conv), NULL, _("Unable to open file."), NULL); |
1026 return; | 1026 return; |
1027 } | 1027 } |
1028 | 1028 |
1029 name = purple_conversation_get_name(conv); | 1029 name = purple_conversation_get_name(conv); |
1030 fprintf(fp, "<html>\n<head><title>%s</title></head>\n<body>", name); | 1030 fprintf(fp, "<html>\n<head>\n"); |
1031 fprintf(fp, "<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n"); | |
1032 fprintf(fp, "<title>%s</title>\n</head>\n<body>\n", name); | |
1031 fprintf(fp, _("<h1>Conversation with %s</h1>\n"), name); | 1033 fprintf(fp, _("<h1>Conversation with %s</h1>\n"), name); |
1032 | 1034 |
1033 lines = gtk_imhtml_get_markup_lines( | 1035 lines = gtk_imhtml_get_markup_lines( |
1034 GTK_IMHTML(PIDGIN_CONVERSATION(conv)->imhtml)); | 1036 GTK_IMHTML(PIDGIN_CONVERSATION(conv)->imhtml)); |
1035 text = g_strjoinv("<br>\n", lines); | 1037 text = g_strjoinv("<br>\n", lines); |