| 758 */ |
758 */ |
| 759 if (url_text == NULL || strcmp(url_text, "") == 0) { |
759 if (url_text == NULL || strcmp(url_text, "") == 0) { |
| 760 g_snprintf(buf, 1024, "<html><body>%s<b>%s</b></body></html>", |
760 g_snprintf(buf, 1024, "<html><body>%s<b>%s</b></body></html>", |
| 761 tooltip_text, _("Error retrieving profile")); |
761 tooltip_text, _("Error retrieving profile")); |
| 762 |
762 |
| 763 gaim_notify_formatted(info_data->gc, NULL, title, NULL, |
763 gaim_notify_userinfo(info_data->gc, info_data->name, NULL, title, |
| 764 buf, NULL, NULL); |
764 NULL, buf, NULL, NULL); |
| 765 |
765 |
| 766 g_free(profile_url_text); |
766 g_free(profile_url_text); |
| 767 g_free(tooltip_text); |
767 g_free(tooltip_text); |
| 768 g_free(info_data->name); |
768 g_free(info_data->name); |
| 769 g_free(info_data); |
769 g_free(info_data); |
| 795 "are not supported at this time."), |
795 "are not supported at this time."), |
| 796 _("If you wish to view this profile, " |
796 _("If you wish to view this profile, " |
| 797 "you will need to visit this link in your web browser"), |
797 "you will need to visit this link in your web browser"), |
| 798 profile_url_text, profile_url_text); |
798 profile_url_text, profile_url_text); |
| 799 |
799 |
| 800 gaim_notify_formatted(info_data->gc, NULL, title, NULL, |
800 gaim_notify_userinfo(info_data->gc, info_data->name, NULL, title, |
| 801 buf, NULL, NULL); |
801 NULL, buf, NULL, NULL); |
| 802 |
802 |
| 803 g_free(profile_url_text); |
803 g_free(profile_url_text); |
| 804 g_free(tooltip_text); |
804 g_free(tooltip_text); |
| 805 g_free(info_data->name); |
805 g_free(info_data->name); |
| 806 g_free(info_data); |
806 g_free(info_data); |
| 1178 |
1178 |
| 1179 /* finish off the html at the beginning */ |
1179 /* finish off the html at the beginning */ |
| 1180 g_string_prepend(s, "<html><body>\n"); |
1180 g_string_prepend(s, "<html><body>\n"); |
| 1181 |
1181 |
| 1182 /* show it to the user */ |
1182 /* show it to the user */ |
| 1183 gaim_notify_formatted(info_data->gc, NULL, title, NULL, |
1183 gaim_notify_userinfo(info_data->gc, info_data->name, NULL, title, |
| 1184 s->str, NULL, NULL); |
1184 NULL, s->str, NULL, NULL); |
| 1185 |
1185 |
| 1186 g_free(last_updated_utf8_string); |
1186 g_free(last_updated_utf8_string); |
| 1187 g_free(url_buffer); |
1187 g_free(url_buffer); |
| 1188 g_string_free(s, TRUE); |
1188 g_string_free(s, TRUE); |
| 1189 g_free(profile_url_text); |
1189 g_free(profile_url_text); |