Author: qmathe
Date: Wed Jun 13 01:10:56 2007
New Revision: 2027

URL: http://svn.gna.org/viewcvs/etoile?rev=2027&view=rev
Log:
Modified IKIcon to use the provider architecture. Wrote the missing code in 
IKIconProvider to have a working implementation. Implemented it with a 
rudimentary scheme which checks a mapping file to convert file extensions to 
IKIconTheme icon identifiers. In future, we should use UTI database to get the 
proper icon identifier, as a side effect we would gain supercasting (as David 
nicknames it ;-)... To take a bad example: when no icon has been registered for 
xhtml, fallback occurs on any parent types (like xml, html or text) which have 
a registered icon rather than default document icon. The real result of this 
commit is visible in OuterSpace which now displays files with GNUstep/Etoile 
icon theme.

Added:
    trunk/Etoile/Frameworks/IconKit/ExtensionMapping.plist
    
trunk/Etoile/Frameworks/IconKit/GNUstep.icontheme/Resources/Application-Application.png
   (with props)
    trunk/Etoile/Frameworks/IconKit/IconKitInfo.plist
Modified:
    trunk/Etoile/Frameworks/IconKit/ChangeLog
    trunk/Etoile/Frameworks/IconKit/GNUmakefile
    
trunk/Etoile/Frameworks/IconKit/GNUstep.icontheme/Resources/IdentifierMapping.plist
    trunk/Etoile/Frameworks/IconKit/Headers/IKIcon.h
    trunk/Etoile/Frameworks/IconKit/Headers/IKIconProvider.h
    trunk/Etoile/Frameworks/IconKit/Source/IKIcon.m
    trunk/Etoile/Frameworks/IconKit/Source/IKIconProvider.m


_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs

Reply via email to