diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-05-20 04:08:17 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-05-20 04:08:17 +0800 |
commit | ff547c91abf8d8c3da3ba83e0f89b9a58b2fb2fe (patch) | |
tree | fd2c0565dec6ba097a1626d0981c21bb4220c879 /e-util/e-pilot-util.c | |
parent | 4e1b5582d894ddbdefdae5c729788bc57f60886b (diff) | |
download | gsoc2013-evolution-ff547c91abf8d8c3da3ba83e0f89b9a58b2fb2fe.tar.gz gsoc2013-evolution-ff547c91abf8d8c3da3ba83e0f89b9a58b2fb2fe.tar.zst gsoc2013-evolution-ff547c91abf8d8c3da3ba83e0f89b9a58b2fb2fe.zip |
Lots of re-working action. We no longer load a pixbuf for each and every
2004-05-19 Jeffrey Stedfast <fejj@novell.com>
* 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
Diffstat (limited to 'e-util/e-pilot-util.c')
0 files changed, 0 insertions, 0 deletions