annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19045
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
1 /** @page certificate-signals Certificate Signals
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
2
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
3 @signals
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
4 @signal certificate-stored
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
5 @signal certificate-deleted
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
6 @endsignals
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
7
20807
e0613cf8c493 Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents: 19051
diff changeset
8 @see certificate.h
e0613cf8c493 Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents: 19051
diff changeset
9
19045
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
10 <hr>
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
11
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
12 @signaldef certificate-stored
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
13 @signalproto
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
14 void (*certificate_stored)(PurpleCertificatePool *pool, const gchar *id, gpointer data);
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
15 @endsignalproto
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
16 @signaldesc
19051
c0ccfe389b23 - Add notice that certificate-stored and certificate-deleted signals are
William Ehlhardt <williamehlhardt@gmail.com>
parents: 19045
diff changeset
17 Emitted when a pool stores a certificate. Connect to the pool instance.
19045
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
18 @param pool Pool the certificate has been stored into
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
19 @param id Key the certificate was stored under
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
20 @endsignaldef
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
21
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
22 @signaldef certificate-deleted
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
23 @signalproto
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
24 void (*certificate_deleted)(PurpleCertificatePool *pool, const gchar *id, gpointer data);
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
25 @endsignalproto
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
26 @signaldesc
19051
c0ccfe389b23 - Add notice that certificate-stored and certificate-deleted signals are
William Ehlhardt <williamehlhardt@gmail.com>
parents: 19045
diff changeset
27 Emitted when a pool deletes a certificate. Connect to the pool instance.
19045
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
28 @param pool Pool the certificate was deleted from
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
29 @param id Key that was deleted
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
30 @endsignaldef
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
31
2aa5a9f47470 - Add CertificatePool signals documentation
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
32 */
20807
e0613cf8c493 Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents: 19051
diff changeset
33 // vim: syntax=c.doxygen tw=75 et