comparison src/gtknotify.c @ 8882:25344c2d74c4

[gaim-migrate @ 9651] Eradicate "Show URLs as links" committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 06 May 2004 04:58:49 +0000
parents 013d256e8ded
children 87fcb56feeca
comparison
equal deleted inserted replaced
8881:1ab2a9c17f4a 8882:25344c2d74c4
373 options ^= GTK_IMHTML_NO_NEWLINE; 373 options ^= GTK_IMHTML_NO_NEWLINE;
374 options ^= GTK_IMHTML_NO_SCROLL; 374 options ^= GTK_IMHTML_NO_SCROLL;
375 375
376 gaim_gtk_find_images(text, &images); 376 gaim_gtk_find_images(text, &images);
377 377
378 if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_urls_as_links")) 378 /* Make sure URLs are clickable */
379 { 379 linked_text = gaim_markup_linkify(text);
380 linked_text = gaim_markup_linkify(text); 380 gtk_imhtml_append_text_with_images(GTK_IMHTML(imhtml), linked_text,
381 gtk_imhtml_append_text_with_images(GTK_IMHTML(imhtml), linked_text, 381 options, images);
382 options, images); 382 g_free(linked_text);
383 g_free(linked_text);
384 }
385 else
386 {
387 gtk_imhtml_append_text_with_images(GTK_IMHTML(imhtml), text,
388 options, images);
389 }
390 383
391 if (images) 384 if (images)
392 { 385 {
393 GSList *tmp; 386 GSList *tmp;
394 387