Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/libicq.c @ 32052:bfb4b66953b4
Fix setting icons with dimensions greater than 64x64 pixels by scaling
them down to at most 64x64. (#12874, #13165)
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 11 May 2011 09:29:47 +0000 |
parents | 0cf50b0f7af4 |
children | cd1d9e04c587 |
comparison
equal
deleted
inserted
replaced
32051:7ad1f8242ae8 | 32052:bfb4b66953b4 |
---|---|
39 static PurplePluginProtocolInfo prpl_info = | 39 static PurplePluginProtocolInfo prpl_info = |
40 { | 40 { |
41 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE | OPT_PROTO_INVITE_MESSAGE, | 41 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE | OPT_PROTO_INVITE_MESSAGE, |
42 NULL, /* user_splits */ | 42 NULL, /* user_splits */ |
43 NULL, /* protocol_options */ | 43 NULL, /* protocol_options */ |
44 {"gif,jpeg,bmp,ico", 0, 0, 100, 100, 7168, PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */ | 44 {"gif,jpeg,bmp,ico", 0, 0, 64, 64, 7168, PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */ |
45 oscar_list_icon_icq, /* list_icon */ | 45 oscar_list_icon_icq, /* list_icon */ |
46 oscar_list_emblem, /* list_emblems */ | 46 oscar_list_emblem, /* list_emblems */ |
47 oscar_status_text, /* status_text */ | 47 oscar_status_text, /* status_text */ |
48 oscar_tooltip_text, /* tooltip_text */ | 48 oscar_tooltip_text, /* tooltip_text */ |
49 oscar_status_types, /* status_types */ | 49 oscar_status_types, /* status_types */ |