Mercurial > pidgin.yaz
diff src/dialogs.c @ 247:f6e8ea29b24f
[gaim-migrate @ 257]
OSCAR:
getting a user's info now displays in the dialog window as opposed
to the debug window
you can add people to your permit/deny list (but be warned - you
will get a lot of noise if you do)
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sat, 20 May 2000 23:00:20 +0000 |
| parents | 7cdc778e6e55 |
| children | 5b28ef2b550e |
line wrap: on
line diff
--- a/src/dialogs.c Sat May 20 21:01:59 2000 +0000 +++ b/src/dialogs.c Sat May 20 23:00:20 2000 +0000 @@ -1337,14 +1337,13 @@ /* The dialog for the info requests */ /*------------------------------------------------------------------------*/ -void g_show_info(char *url) +void g_show_info_text(char *info) { GtkWidget *ok; GtkWidget *label; GtkWidget *text; GtkWidget *bbox; GtkWidget *sw; - char *url_text; struct info_dlg *b = g_new0(struct info_dlg, 1); @@ -1382,8 +1381,12 @@ aol_icon(b->window->window); gtk_widget_show_all(b->window); - url_text = grab_url(url); - gtk_html_append_text(GTK_HTML(b->text), url_text, 0); + gtk_html_append_text(GTK_HTML(b->text), info, 0); +} + +void g_show_info(char *url) { + char *url_text = grab_url(url); + g_show_info_text(url_text); g_free(url_text); }
