Mercurial > pidgin
view doc/gtklog-signals.dox @ 13476:465c368366f8
[gaim-migrate @ 15852]
Add GAIM_MESSAGE_ACTIVE_ONLY:
This allows core plugins to hint to the UI that it should not show a message if a conversation is "inactive". For the GTK+ UI, this means conversations that aren't the active conversation in a contact-aware conversation.
With the GTK+ UI, to avoid having such a message logged, you need to either call gaim_conv_im_write() (which will drop the message before logging, or allow it through for both logging and displaying) or set the GAIM_MESSAGE_NO_LOG flag (which obviously suppresses all logging). Look at the Buddy State Notification and Psychic plugins for the examples of each of these techniques, respectively.
This fixes a ShowStopperBug.
Also, rearrange some stuff in gtkconv.c to make things more clear and remove unused code.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 09 Mar 2006 04:02:09 +0000 |
parents | cb36bc2db7c5 |
children | 8cf53d7a0887 |
line wrap: on
line source
/** @page gtklog-signals GtkLog Signals @signals @signal log-displaying @endsignals <hr> @signaldef log-displaying @signalproto void (*log_displaying)(GaimGtkLogViewer *viewer, GaimLog *log); @endsignalproto @signaldesc Emitted when a log is being displayed. @param viewer The log viewer @param log The log being displayed @endsignaldef */ // vim: syntax=c tw=75 et