Mercurial > pidgin
view doc/certificate-signals.dox @ 29648:3b24193663bc
Change pidgin_convert_buddy_icon() to be more accommodating when attempting
to scale a large buddy icon. I spent entirely too much time on this, but
I'm pretty happy with the result.
We now try to set increasingly lower quality levels when trying to save
as a jpeg until we have an image that is smaller than the max file size
limit specified by the prpl. If the image is still too large when quality
level is 70, we'll try scaling down the image dimensions to be 80% of the
size we just tried.
Fixes #11565
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 27 Mar 2010 21:29:18 +0000 |
parents | e0613cf8c493 |
children |
line wrap: on
line source
/** @page certificate-signals Certificate Signals @signals @signal certificate-stored @signal certificate-deleted @endsignals @see certificate.h <hr> @signaldef certificate-stored @signalproto void (*certificate_stored)(PurpleCertificatePool *pool, const gchar *id, gpointer data); @endsignalproto @signaldesc Emitted when a pool stores a certificate. Connect to the pool instance. @param pool Pool the certificate has been stored into @param id Key the certificate was stored under @endsignaldef @signaldef certificate-deleted @signalproto void (*certificate_deleted)(PurpleCertificatePool *pool, const gchar *id, gpointer data); @endsignalproto @signaldesc Emitted when a pool deletes a certificate. Connect to the pool instance. @param pool Pool the certificate was deleted from @param id Key that was deleted @endsignaldef */ // vim: syntax=c.doxygen tw=75 et