From ff547c91abf8d8c3da3ba83e0f89b9a58b2fb2fe Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 19 May 2004 20:08:17 +0000 Subject: Lots of re-working action. We no longer load a pixbuf for each and every 2004-05-19 Jeffrey Stedfast * e-icon-factory.c: Lots of re-working action. We no longer load a pixbuf for each and every available size when requesting the icon for the first time, instead we simply load the requested icon of the requested size and cache only that. (e_icon_factory_get_icon): Always return a broken image icon if we fail to load the requested icon. (e_icon_factory_get_icon_list): Only bother with adding icons of the sizes that are suggested by ghe gtk documentation for gtk_window_set_icon_list rather than the sizes of the standard icons (since it isn't the same list of sizes). (load_icon): Fall back to EVOLUTION_ICONSDIR/WWxHH/icon_name if the icon-theme lookup fails. Also now takes a 'scale' argument which, if non-zero, allows us to look for images of the same name with a larger size in order to scale them back down to what we need. svn path=/trunk/; revision=25986 --- e-util/ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'e-util/ChangeLog') diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 14d3897d1c..3f4467eadd 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,21 @@ +2004-05-19 Jeffrey Stedfast + + * e-icon-factory.c: Lots of re-working action. We no longer load a + pixbuf for each and every available size when requesting the icon + for the first time, instead we simply load the requested icon of + the requested size and cache only that. + (e_icon_factory_get_icon): Always return a broken image icon if we + fail to load the requested icon. + (e_icon_factory_get_icon_list): Only bother with adding icons of + the sizes that are suggested by ghe gtk documentation for + gtk_window_set_icon_list rather than the sizes of the standard + icons (since it isn't the same list of sizes). + (load_icon): Fall back to EVOLUTION_ICONSDIR/WWxHH/icon_name if + the icon-theme lookup fails. Also now takes a 'scale' argument + which, if non-zero, allows us to look for images of the same name + with a larger size in order to scale them back down to what we + need. + 2004-05-19 Jeffrey Stedfast * e-gui-utils.c (e_icon_for_mime_type): We always have -- cgit