• Darin Adler's avatar
    Separate out the part of the code that locates icons. · d668a75d
    Darin Adler authored
    	* libnautilus-private/Makefile.am: New source files.
    
    	* libnautilus-private/nautilus-find-icon-image.h: New.
    	* libnautilus-private/nautilus-find-icon-image.c: New.
    
    	* libnautilus-private/nautilus-icon-factory.c:
    	(cache_icon_new): Use new theme structure.
    	(nautilus_icon_factory_destroy): Use new theme structure.
    	(get_mime_type_icon_without_suffix): Use suffix remove function
    	moved into new file by its new name.
    	(set_theme_name): Helper function to keep the theme change code
    	simpler.
    	(icon_theme_changed_callback): Rewrote to get rid of confused
    	juxtaposition of old and new theme concepts.
    	(image_uri_to_name_or_uri): Use suffix remove function moved into
    	new file by its new name.
    	(nautilus_icon_factory_get_emblem_icon_by_name): Use emblem prefix
    	by new name.
    	(load_named_icon): Use nautilus_get_icon_file_name function in new
    	source file.
    	(load_specific_icon), (scale_icon), (load_icon_with_embedded_text):
    	IconDetails is now NautilusIconDetails.
    d668a75d
nautilus-find-icon-image.h 2.07 KB