_thunar_vfs_info_new_internal() (and thunar_vfs_info_rename()) should determine whether the file is hidden, and thunar_file_is_hidden() should be turned into a simple macro, as this function appears quite high in the profiler stats.
Committed with revision 19825. 2006-02-10 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-info.c, thunar-vfs/thunar-vfs-types.h: Add flag THUNAR_VFS_FILE_FLAGS_HIDDEN, which tells whether a given file should be considered hidden. * thunar/thunar-file.{c,h}: Use the THUNAR_VFS_FILE_FLAGS_HIDDEN flag and implement thunar_file_is_hidden() as simple macro.