diff options
author | Not Zed <NotZed@Ximian.com> | 2005-07-06 11:56:48 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-07-06 11:56:48 +0800 |
commit | e7faa9958236bf7f91f9c55c3cec4ecca87cd3c8 (patch) | |
tree | ceb8c2c8cd7b6e7d8f4293d8f106485c11aeb2bd /addressbook/gui | |
parent | 76e2be74ffaf855a1c79132cb36a635c642be8b4 (diff) | |
download | gsoc2013-evolution-e7faa9958236bf7f91f9c55c3cec4ecca87cd3c8.tar gsoc2013-evolution-e7faa9958236bf7f91f9c55c3cec4ecca87cd3c8.tar.gz gsoc2013-evolution-e7faa9958236bf7f91f9c55c3cec4ecca87cd3c8.tar.bz2 gsoc2013-evolution-e7faa9958236bf7f91f9c55c3cec4ecca87cd3c8.tar.lz gsoc2013-evolution-e7faa9958236bf7f91f9c55c3cec4ecca87cd3c8.tar.xz gsoc2013-evolution-e7faa9958236bf7f91f9c55c3cec4ecca87cd3c8.tar.zst gsoc2013-evolution-e7faa9958236bf7f91f9c55c3cec4ecca87cd3c8.zip |
use the cache, since we set it up. (efhd_image): added a (private!) format
2005-07-05 Not Zed <NotZed@Ximian.com>
* em-format-html-display.c (efhd_attachment_image): use the cache,
since we set it up.
(efhd_image): added a (private!) format handler for all the image
types so we intercept them and handle them directly.
(efhd_image_fit, efhd_image_unfit): replace the resize callback
with two much simpler ones.
* em-icon-stream.c (em_icon_stream_get_image): added 'fit to'
arguments. Changed dramatically to get approximate fit-to image,
update cache, etc.
(em_icon_stream_is_resized): added 'fit to' arguments. changed to
manipulate the cache properly.
(emis_fit): helper to fit an image to a size.
(em_icon_stream_new): added 'fit to' arguments rather than poking
structures.
* em-format-html-display.c (efhd_attachment_image): fixed a memory
leak, various style issues. Removed all scaling code.
(efhd_attachment_popup): show menu's appropriately. add back the
hide/show menu always.
(efhd_image_popup): fix formatting.
** Applied patch from Srini for scaling images to fit by default.
svn path=/trunk/; revision=29640
Diffstat (limited to 'addressbook/gui')
0 files changed, 0 insertions, 0 deletions