aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-icon-factory.c
Commit message (Collapse)AuthorAgeFilesLines
* add protoJP Rosevear2004-11-261-1/+14
| | | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * e-icon-factory.h: add proto * e-icon-factory.c (e_icon_factory_init): cast to kill warning (e_icon_factory_get_image): new function to return a GtkImage widget give an icon name and size svn path=/trunk/; revision=27995
* We must return TRUE here so that things actually get removed from the listRodney Dawes2004-08-101-0/+2
| | | | | | | | | 2004-08-09 Rodney Dawes <dobey@novell.com> * e-icon-factory.c (icon_foreach_remove): We must return TRUE here so that things actually get removed from the list svn path=/trunk/; revision=26857
* connect to "changed" signal on the GnomeIconTheme object.Rodrigo Moya2004-08-061-2/+12
| | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> * e-icon-factory.c (e_icon_factory_init): connect to "changed" signal on the GnomeIconTheme object. (icon_theme_changed_cb): g_hash_table_foreach_remove all items in the hash table. (icon_foreach_remove): callback for removing hash table items. svn path=/trunk/; revision=26834
* Fixes #62030Rodrigo Moya2004-08-051-4/+4
| | | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> Fixes #62030 * e-icon-factory.c (load_icon): get the icon_key as a new argument and use that in the call to icon_new(). (e_icon_factory_get_icon): pass icon_key to load_icon(). (e_icon_factory_get_icon_list): ditto. svn path=/trunk/; revision=26830
* If the icon_name is an abolute path, just load it.Dan Winship2004-06-031-6/+11
| | | | | | | | * e-icon-factory.c (load_icon): If the icon_name is an abolute path, just load it. (e_icon_factory_get_icon): Update the docs to reflect that svn path=/trunk/; revision=26168
* doh. need to append ".png" to the icon filenames when falling back on ↵Jeffrey Stedfast2004-05-201-2/+2
| | | | | | looking for them ourselves. svn path=/trunk/; revision=25987
* Lots of re-working action. We no longer load a pixbuf for each and everyJeffrey Stedfast2004-05-201-98/+167
| | | | | | | | | | | | | | | | | | | | | | 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
* *** empty log message ***Jeffrey Stedfast2004-05-131-9/+22
| | | | svn path=/trunk/; revision=25886
* Make this work for non-stock icons too.Dan Winship2004-04-301-1/+3
| | | | | | | * e-icon-factory.c (load_icon): Make this work for non-stock icons too. svn path=/trunk/; revision=25710
* make sure we unlock if we fail to find an icon.Not Zed2004-04-221-0/+1
| | | | | | | | | 2004-04-22 Not Zed <NotZed@Ximian.com> * e-icon-factory.c (e_icon_factory_get_icon_list): make sure we unlock if we fail to find an icon. svn path=/trunk/; revision=25577
* *** empty log message ***Jeffrey Stedfast2004-04-211-2/+0
| | | | svn path=/trunk/; revision=25563
* Make thread-safe. Fixes a crash I encountered this morning.Jeffrey Stedfast2004-04-211-176/+166
| | | | | | | | | | | 2004-04-20 Jeffrey Stedfast <fejj@ximian.com> * e-icon-factory.c (e_icon_factory_get_icon): Make thread-safe. Fixes a crash I encountered this morning. (e_icon_factory_get_icon_filename): Same. (e_icon_factory_get_icon_list): Here too. svn path=/trunk/; revision=25541
* Add e-icon-factory.[ch] Use the icon theme via EIconFactory MoveMichael Terry2004-04-191-0/+288
2004-04-16 Michael Terry <mike@mterry.name> * Makefile.am: Add e-icon-factory.[ch] * e-gui-utils.c: Use the icon theme via EIconFactory * e-icon-factory.[ch]: Move EIconFactory to e-util, and add icon theme support to the object so evolution uses them svn path=/trunk/; revision=25511