Mercurial > pidgin
view doc/gtkimhtml-signals.dox @ 9190:9e3289499977
[gaim-migrate @ 9985]
Patch by Evan Schoenberg. The disconnected UI op was called twice on
connection errors. Now it is only called once. He describes it as follows:
"Currently, the UI's disconnected callback is called twice when there is a
connection error.
First, it is called by gaim_connection_error(). Then,
gaim_connection_disconnect_cb is called, leading to a call to
gaim_connection_set_state() at which point the gc's state is set to
GAIM_DISCONNECTED. Finally, the UI's disconnected callback is called once
the state is set to GAIM_DISCONNECTED.
The call in gaim_connection_error() is incorrect; there is no need to
manually call the UI's disconnected callback. It causes really nasty
problems for smart reconnection handling and is wasteful. :)"
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 06 Jun 2004 02:07:59 +0000 |
parents | 6bf49a1ec075 |
children | 5bc3d67ceb24 |
line wrap: on
line source
/** @page gtkimhtml-signals GtkIMHtml Signals @signals @signal url_clicked @signal format_buttons_update @signal format_function_clear @signal format_function_toggle @signal format_function_update @endsignals <hr> @signaldef url_clicked @signalproto void (*url_clicked)(GtkIMHtml *imhtml, char *uri); @endsignalproto @signaldesc Emitted when a link is clicked @param imhtml The GtkIMHtml emitting the signal. @param url The uri. @endsignaldef @signaldef format_buttons_update @signalproto void (*format_buttons_update)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); @endsignalproto @signaldesc Emitted when allowed formatting has changed. @param imhtml The GtkIMHtml emitting the signal. @param buttons GtkIMHtmlButtons for the GtkIMHtml. @param data User defined data. @endsignaldef @signaldef format_function_clear @signalproto void (*format_function_clear)(GtkIMHtml *imhtml, gpointer data); @endsignalproto @signaldesc Emitted when clearing the formatting for the GtkIMHtml. @param imhtml The GtkIMHtml emitting the signal. @param data User defined data. @endsignaldef @signaldef format_function_toggle @signalproto void (*format_function_toggle)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); @endsignalproto @signaldesc Emitted when a format has been toggled. @param imhtml The GtkIMHtml emitting the signal. @param buttons GtkIMHtmlButtons for the GtkIMHtml. @param data User defined data. @endsignaldef @signaldef format_function_update @signalproto void (*format_function_update)(GtkIMHtml *imhtml, gpointer data); @endsignalproto @signaldesc Emitted when the cursor has moved and formatting has changed @param imhtml The GtkIMHtml emitting the signal. @param data User defined data. @endsignaldef */