src/gtknotify.c

changeset 7665
59c2f9b984aa
parent 7455
f12dffd5fefd
child 7673
ed14962ad52a
equal deleted inserted replaced
7664:d8e8d575276d 7665:59c2f9b984aa
213 213
214 if (count == 1) { 214 if (count == 1) {
215 char *from_text = NULL, *subject_text = NULL; 215 char *from_text = NULL, *subject_text = NULL;
216 216
217 if (froms != NULL) { 217 if (froms != NULL) {
218 char *from_decoded = gaim_mime_decode_field(*froms);
218 from_text = g_strdup_printf( 219 from_text = g_strdup_printf(
219 _("<span weight=\"bold\">From:</span> %s\n"), *froms); 220 _("<span weight=\"bold\">From:</span> %s\n"), from_decoded);
221 g_free(from_decoded);
220 } 222 }
221 223
222 if (subjects != NULL) { 224 if (subjects != NULL) {
225 char *subject_decoded = gaim_mime_decode_field(*subjects);
223 subject_text = g_strdup_printf( 226 subject_text = g_strdup_printf(
224 _("<span weight=\"bold\">Subject:</span> %s\n"), *subjects); 227 _("<span weight=\"bold\">Subject:</span> %s\n"), subject_decoded);
228 g_free(subject_decoded);
225 } 229 }
226 230
227 label_text = g_strdup_printf( 231 label_text = g_strdup_printf(
228 _("<span weight=\"bold\" size=\"larger\">You have mail!</span>" 232 _("<span weight=\"bold\" size=\"larger\">You have mail!</span>"
229 "\n\n%s%s%s%s"), 233 "\n\n%s%s%s%s"),

mercurial