# HG changeset patch # User Mark Doliner # Date 1138938668 0 # Node ID 079f7a452e3a7dc217f70980e1fdb6bb66e44b20 # Parent 8695e933ad64b4a4955a36afd51dba942bb96b59 [gaim-migrate @ 15471] Increase the display size of a few icons by one or two pixels. I think 32 and 16 are much more standard sizes for icons, and this makes the away icon scale better in the gtkstatusbox. It now looks the same as the one displayed in the buddy list committer: Tailor Script diff -r 8695e933ad64 -r 079f7a452e3a src/gtkutils.c --- a/src/gtkutils.c Fri Feb 03 01:25:31 2006 +0000 +++ b/src/gtkutils.c Fri Feb 03 03:51:08 2006 +0000 @@ -1579,8 +1579,8 @@ pixbuf = gdk_pixbuf_new_from_file(filename, NULL); g_free(filename); - scaled = gdk_pixbuf_scale_simple(pixbuf, 30*scale_factor, - 30*scale_factor, GDK_INTERP_BILINEAR); + scaled = gdk_pixbuf_scale_simple(pixbuf, 32*scale_factor, + 32*scale_factor, GDK_INTERP_BILINEAR); g_object_unref(pixbuf); return scaled; @@ -1668,8 +1668,8 @@ if (orig == NULL) return NULL; - pixbuf = gdk_pixbuf_scale_simple(orig, 30*scale_factor, - 30*scale_factor, GDK_INTERP_BILINEAR); + pixbuf = gdk_pixbuf_scale_simple(orig, 32*scale_factor, + 32*scale_factor, GDK_INTERP_BILINEAR); g_object_unref(G_OBJECT(orig)); return overlay_status_onto_icon(pixbuf, primitive); diff -r 8695e933ad64 -r 079f7a452e3a src/gtkutils.h --- a/src/gtkutils.h Fri Feb 03 01:25:31 2006 +0000 +++ b/src/gtkutils.h Fri Feb 03 03:51:08 2006 +0000 @@ -357,10 +357,10 @@ * * @param account The account. * @param scale_factor The amount to scale to the original image. - * The default size is 30x30 pixels. A scale + * The default size is 32x32 pixels. A scale * factor of 1 means no scaling will be done. * A scale factor of 0.5 means the length - * and width will be 15 pixels each. + * and width will be 16 pixels each. * * @return A newly-created pixbuf with a reference count of 1, * or NULL if any of several error conditions occurred: @@ -378,10 +378,10 @@ * @param account The account. * @param status_type The status type of the emblem to overlay. * @param scale_factor The amount to scale to the original image. - * The default size is 30x30 pixels. A scale + * The default size is 32x32 pixels. A scale * factor of 1 means no scaling will be done. * A scale factor of 0.5 means the length - * and width will be 15 pixels each. + * and width will be 16 pixels each. * * @return A newly-created pixbuf with a reference count of 1, * or NULL if any of several error conditions occurred: @@ -398,10 +398,10 @@ * * @param status_type The status type to set the emblem for. * @param scale_factor The amount to scale to the original image. - * The default size is 30x30 pixels. A scale + * The default size is 32x32 pixels. A scale * factor of 1 means no scaling will be done. * A scale factor of 0.5 means the length - * and width will be 15 pixels each. + * and width will be 16 pixels each. * * @return A newly-created pixbuf with a reference count of 1, * or NULL if any of several error conditions occurred: