[Evolution-hackers] EIconFactory Update
- From: JP Rosevear <jpr novell com>
- To: evolution-hackers ximian com
- Subject: [Evolution-hackers] EIconFactory Update
- Date: Fri, 26 Nov 2004 11:04:12 -0500
While hacking on the itip stuff I noticed we do a lot of fetching an
icon from the factory and then converting it to an image, so I made a
one-step e_icon_factory_get_image that takes the same args as get_icon.
I've converted to this is as many places as i found and the routine is
now available.
I was also thinking of collapsing e-gui-utils into e-icon-factory as
well. There are three routines:
e_create_image_widget (not used since before 1.4)
e_button_new_with_stock_icon (useful for more than gtk stock images)
e_icon_for_mime_type (uses icon them stuff anyhow)
For e_button_new_with_stock_icon I'd look at adding notzed's hack from
the mailer so that the icon factory can do gtk stock icons as well.
-JP
--
JP Rosevear <jpr novell com>
Novell, Inc.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]