Mercurial > pidgin.yaz
view doc/gtkimhtml-signals.dox @ 32297:1527020e33e2
In purple_buddy_icons_set_account_icon, call the prpl's set_buddy_icon
function if the account is in the connecting state (not just connected).
I believe this is the polite thing to do.
I'm seeing a little race condition in the jabber prpl where if the user
changes their icon while the account is connecting, the new icon isn't
set. This is one half of the fix.
I don't _think_ this will cause problems. It's possible that some
prpls will be unhappy if a user tries to set an icon while the account
is connecting. If those problems exist, I think they should be fixed
in each prpl.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 13 Apr 2011 00:16:51 +0000 |
parents | 1981a7798b17 |
children |
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 @signal paste @endsignals @see gtkimhtml.h <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. @signaldef paste @signalproto void (*paste) (GtkIMHtml *imhtml, char *format) @endsignalproto @signaldesc Emitted when paste from the clipboard is requested. @param imhtml The GtkIMHtml emitting the signal. @param format If 'text', then the formatting of the clipboard content will be removed before pasting. If empty or 'html', then the formatting will not be removed. Any other value for this parameter is ignored and nothing is pasted. @endsignaldef */ // vim: syntax=c.doxygen tw=75 et