2005-06-14 Benedikt Meurer <benny@xfce.org>
* thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_new_for_path): Add some code to automatically remove trailing slashes from path names, which would otherwise confuse the whole file manager. * thunar/thunar-fallback-icon.{h,png}, thunar/Makefile.am: The fallback icon is now stored in a C file and automatically generated at compile time if maintainer mode is enabled, while dist tarballs will ship the generated C file. * thunar/thunar-icon-factory.{c,h}: Add new class ThunarIconFactory, which provides caching of themed icons. The basic concept is based on the NautilusIconFactory class, but the implementation is simpler and faster than the implementation found in Nautilus. * thunar/thunar-file.c: Use the new ThunarIconFactory class and the new exo_mime_info_lookup_icon_name() method to lookup and cache icons for files. This speeds up folder loading quite a lot. * docs/design/overview.xmi: Add ThunarIconFactory diagram. (Old svn revision: 16333)
Showing
- ChangeLog 18 additions, 0 deletionsChangeLog
- docs/design/overview.xmi 3727 additions, 2586 deletionsdocs/design/overview.xmi
- thunar-vfs/thunar-vfs-uri.c 20 additions, 4 deletionsthunar-vfs/thunar-vfs-uri.c
- thunar/Makefile.am 13 additions, 2 deletionsthunar/Makefile.am
- thunar/fallback-icon.h 0 additions, 369 deletionsthunar/fallback-icon.h
- thunar/thunar-fallback-icon.h 31 additions, 0 deletionsthunar/thunar-fallback-icon.h
- thunar/thunar-fallback-icon.png 0 additions, 0 deletionsthunar/thunar-fallback-icon.png
- thunar/thunar-file.c 17 additions, 38 deletionsthunar/thunar-file.c
- thunar/thunar-icon-factory.c 698 additions, 0 deletionsthunar/thunar-icon-factory.c
- thunar/thunar-icon-factory.h 69 additions, 0 deletionsthunar/thunar-icon-factory.h
Loading
Please register or sign in to comment