Fri, 23 Dec 2005 06:48:27 +0000
[gaim-migrate @ 14976]
Yahoo profiles use links of this form:
<a href="http://gaim.sf.net">gaim.sf.net</a>
The Yahoo prpl strips HTML, manipulates the text, then passes it to the core, which passes to the UI, which calls another UI function which calls ...linkify. This leads to these URLs looking quite odd.
The fix is to have the HTML stripping function deal properly with URLs of the above format. With HTTP being the most common type of URL these days, that's probably a good plan anyway.
| 9001 | 1 | /** @page gtkimhtml-signals GtkIMHtml Signals |
| 2 | ||
| 3 | @signals | |
| 4 | @signal url_clicked | |
| 5 | @signal format_buttons_update | |
| 6 | @signal format_function_clear | |
| 7 | @signal format_function_toggle | |
| 8 | @signal format_function_update | |
| 9 | @endsignals | |
| 10 | ||
| 11 | <hr> | |
| 12 | ||
| 13 | @signaldef url_clicked | |
| 14 | @signalproto | |
| 15 | void (*url_clicked)(GtkIMHtml *imhtml, char *uri); | |
| 16 | @endsignalproto | |
| 17 | @signaldesc Emitted when a link is clicked | |
| 18 | @param imhtml The GtkIMHtml emitting the signal. | |
| 19 | @param url The uri. | |
| 20 | @endsignaldef | |
| 21 | ||
| 22 | @signaldef format_buttons_update | |
| 23 | @signalproto | |
| 24 | void (*format_buttons_update)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); | |
| 25 | @endsignalproto | |
| 26 | @signaldesc Emitted when allowed formatting has changed. | |
| 27 | @param imhtml The GtkIMHtml emitting the signal. | |
| 28 | @param buttons GtkIMHtmlButtons for the GtkIMHtml. | |
| 29 | @param data User defined data. | |
| 30 | @endsignaldef | |
| 31 | ||
| 32 | @signaldef format_function_clear | |
| 33 | @signalproto | |
| 34 | void (*format_function_clear)(GtkIMHtml *imhtml, gpointer data); | |
| 35 | @endsignalproto | |
| 36 | @signaldesc Emitted when clearing the formatting for the GtkIMHtml. | |
| 37 | @param imhtml The GtkIMHtml emitting the signal. | |
| 38 | @param data User defined data. | |
| 39 | @endsignaldef | |
| 40 | ||
| 41 | @signaldef format_function_toggle | |
| 42 | @signalproto | |
| 43 | void (*format_function_toggle)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); | |
| 44 | @endsignalproto | |
| 45 | @signaldesc Emitted when a format has been toggled. | |
| 46 | @param imhtml The GtkIMHtml emitting the signal. | |
| 47 | @param buttons GtkIMHtmlButtons for the GtkIMHtml. | |
| 48 | @param data User defined data. | |
| 49 | @endsignaldef | |
| 50 | ||
| 51 | @signaldef format_function_update | |
| 52 | @signalproto | |
| 53 | void (*format_function_update)(GtkIMHtml *imhtml, gpointer data); | |
| 54 | @endsignalproto | |
| 55 | @signaldesc Emitted when the cursor has moved and formatting has changed | |
| 56 | @param imhtml The GtkIMHtml emitting the signal. | |
| 57 | @param data User defined data. | |
| 58 | @endsignaldef | |
| 59 | */ | |
| 12291 | 60 | // vim: syntax=c tw=75 et |