2005-08-28 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-file.{c,h}, thunar/thunar-local-file.c, thunar/thunar-standard-view.c: Rename can_execute(), can_read() and can_write() to is_executable(), is_readable() and is_writable() to get consistent naming. * thunar-vfs/thunar-vfs-info.{c,h}: Add THUNAR_VFS_FILE_FLAGS_EXECUTABLE to the ThunarVfsFileFlags, which will be set if a ThunarVfsInfo can be executed, either as regular binary or as .desktop file. * thunar-vfs/thunar-vfs-mime-application.c, thunar-vfs/thunar-vfs-sysdep.{c,h}: Move the Exec parsing code from ThunarVfsMimeApplication to thunar-vfs-sysdep, so it can be used by other modules as well. * thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new method thunar_vfs_info_execute(), which is used to execute files with a list of URIs. These method can handle both regular executable files as well as .desktop files. * thunar/thunar-file.{c,h}, thunar/thunar-launcher.c, thunar/thunar-local-file.c: Add support to execute files that are marked as executable by the ThunarVfsInfo module. * thunar-vfs/thunar-vfs-mime-database.c (thunar_vfs_mime_database_get_info_locked), (thunar_vfs_mime_database_get_infos_for_info_locked): Be sure to always unalias MIME-types prior to returning them from the mime database instance. This way we don't need to care for unaliasing when determining the MIME-type comment or MIME-type icon. * thunar-vfs/thunar-vfs-mime-database.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new method thunar_vfs_mime_database_get_infos_for_info() to the public API, to allow other components to access the subclassing information. * FAQ, Makefile.am: Add initial items for the list of frequently asked questions. * TODO: Remove obsolete items. (Old svn revision: 17147)
Showing
- ChangeLog 34 additions, 0 deletionsChangeLog
- FAQ 24 additions, 0 deletionsFAQ
- Makefile.am 1 addition, 0 deletionsMakefile.am
- TODO 0 additions, 8 deletionsTODO
- thunar-vfs/thunar-vfs-info.c 153 additions, 0 deletionsthunar-vfs/thunar-vfs-info.c
- thunar-vfs/thunar-vfs-info.h 15 additions, 7 deletionsthunar-vfs/thunar-vfs-info.h
- thunar-vfs/thunar-vfs-mime-application.c 3 additions, 135 deletionsthunar-vfs/thunar-vfs-mime-application.c
- thunar-vfs/thunar-vfs-mime-database.c 66 additions, 24 deletionsthunar-vfs/thunar-vfs-mime-database.c
- thunar-vfs/thunar-vfs-mime-database.h 3 additions, 0 deletionsthunar-vfs/thunar-vfs-mime-database.h
- thunar-vfs/thunar-vfs-sysdep.c 209 additions, 0 deletionsthunar-vfs/thunar-vfs-sysdep.c
- thunar-vfs/thunar-vfs-sysdep.h 17 additions, 4 deletionsthunar-vfs/thunar-vfs-sysdep.h
- thunar-vfs/thunar-vfs.symbols 2 additions, 0 deletionsthunar-vfs/thunar-vfs.symbols
- thunar/thunar-file.c 64 additions, 31 deletionsthunar/thunar-file.c
- thunar/thunar-file.h 16 additions, 6 deletionsthunar/thunar-file.h
- thunar/thunar-launcher.c 62 additions, 3 deletionsthunar/thunar-launcher.c
- thunar/thunar-local-file.c 29 additions, 1 deletionthunar/thunar-local-file.c
- thunar/thunar-standard-view.c 2 additions, 2 deletionsthunar/thunar-standard-view.c
Loading
Please register or sign in to comment