diff src/protocols/toc/toc.c @ 7062:86ed8b2aa665

[gaim-migrate @ 7626] g_show_info_text() is gone! Mwahahaha. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 30 Sep 2003 06:43:17 +0000
parents 083d1e4a9c78
children 7fdac700deb1
line wrap: on
line diff
--- a/src/protocols/toc/toc.c	Tue Sep 30 05:58:48 2003 +0000
+++ b/src/protocols/toc/toc.c	Tue Sep 30 06:43:17 2003 +0000
@@ -499,7 +499,8 @@
 	if (!url_text)
 		return;
 
-	g_show_info_text(NULL, NULL, 2, url_text, NULL);
+	gaim_notify_formatted(data, NULL, _("Buddy Information"), NULL,
+						  url_text, NULL, NULL);
 }
 
 static char *show_error_message()
@@ -899,7 +900,7 @@
 		g_snprintf(tmp, sizeof(tmp), "http://%s:%d/%s", tdt->toc_ip,
 				gaim_account_get_int(gc->account, "port", TOC_PORT),
 				url);
-		grab_url(tmp, FALSE, toc_got_info, NULL, NULL, 0);
+		grab_url(tmp, FALSE, toc_got_info, gc, NULL, 0);
 	} else if (!g_ascii_strcasecmp(c, "DIR_STATUS")) {
 	} else if (!g_ascii_strcasecmp(c, "ADMIN_NICK_STATUS")) {
 	} else if (!g_ascii_strcasecmp(c, "ADMIN_PASSWD_STATUS")) {