2005-08-30 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-properties-dialog.c: Adjust the "editability" of the name entry widget depending on whether the file can be renamed. * thunar-vfs/thunar-vfs-info.{c,h}: Add methd thunar_vfs_info_rename() which supports renaming of regular files and .desktop files. * thunar/thunar-file.{c,h}: Add _thunar_file_cache_rename() to support ThunarFile implementations that provide the thunar_file_rename() method. * thunar/thunar-local-file.c: Add support to rename local files based on thunar_vfs_info_rename(). * thunar/thunar-properties-dialog.c: Allow users to rename files using the name entry widget. * thunar/thunar-list-model.c(thunar_list_model_file_changed): Re-sort the model as the file may have changed its name. * thunar/thunar-list-model.c(thunar_list_model_sort): Avoid the GArray overhead and try to use stack memory if possible. * thunar/thunar-standard-view.h, thunar/thunar-details-view.c, thunar/thunar-icon-view.c: Add virtual methods set_cursor() and scroll_to_path() to the ThunarStandardView class and implement them in ThunarDetailsView and ThunarIconView. * thunar/thunar-standard-view.c: Implement the "Rename" action based on the inline editing capabilities of ThunarTextRenderer. (Old svn revision: 17194)
Showing
- ChangeLog 24 additions, 0 deletionsChangeLog
- thunar-vfs/thunar-vfs-info.c 193 additions, 3 deletionsthunar-vfs/thunar-vfs-info.c
- thunar-vfs/thunar-vfs-info.h 4 additions, 0 deletionsthunar-vfs/thunar-vfs-info.h
- thunar/thunar-details-view.c 48 additions, 0 deletionsthunar/thunar-details-view.c
- thunar/thunar-file.c 33 additions, 0 deletionsthunar/thunar-file.c
- thunar/thunar-file.h 2 additions, 0 deletionsthunar/thunar-file.h
- thunar/thunar-icon-view.c 39 additions, 0 deletionsthunar/thunar-icon-view.c
- thunar/thunar-list-model.c 29 additions, 21 deletionsthunar/thunar-list-model.c
- thunar/thunar-local-file.c 56 additions, 1 deletionthunar/thunar-local-file.c
- thunar/thunar-properties-dialog.c 129 additions, 19 deletionsthunar/thunar-properties-dialog.c
- thunar/thunar-standard-view.c 96 additions, 0 deletionsthunar/thunar-standard-view.c
- thunar/thunar-standard-view.h 15 additions, 0 deletionsthunar/thunar-standard-view.h
Loading
Please register or sign in to comment