2006-03-28 Benedikt Meurer <benny@xfce.org>
* docs/README.thunarrc, thunar/thunar-preferences.c: Add new hidden setting MiscCaseSensitive, which controls whether sorting is done in a case-sensitive manner. * configure.in.in: Check for strcoll(). * thunar/thunar-file.{c,h}: Add thunar_file_compare_by_name(), which implements a rather complex but very efficient and smart comparison function for file names. * thunar/thunar-tree-model.c(thunar_tree_model_cmp_array): Use thunar_file_compare_by_name() here. * thunar/thunar-list-model.{c,h}: Add "case-sensitive" property and use thunar_file_compare_by_name(). * thunar/thunar-standard-view.c(thunar_standard_view_init): Synchronize the "misc-case-sensitive" preference with the "case-sensitive" pro- perty of the list model. * thunar/thunar-tree-model.{c,h}: Add "case-sensitive" property and synchronize with the global "misc-case-sensitive" preference. (Old svn revision: 20614)
Showing
- ChangeLog 19 additions, 0 deletionsChangeLog
- configure.in.in 1 addition, 1 deletionconfigure.in.in
- docs/README.thunarrc 5 additions, 0 deletionsdocs/README.thunarrc
- thunar/thunar-file.c 184 additions, 0 deletionsthunar/thunar-file.c
- thunar/thunar-file.h 5 additions, 0 deletionsthunar/thunar-file.h
- thunar/thunar-list-model.c 134 additions, 34 deletionsthunar/thunar-list-model.c
- thunar/thunar-list-model.h 4 additions, 0 deletionsthunar/thunar-list-model.h
- thunar/thunar-preferences.c 14 additions, 0 deletionsthunar/thunar-preferences.c
- thunar/thunar-standard-view.c 1 addition, 0 deletionsthunar/thunar-standard-view.c
- thunar/thunar-tree-model.c 159 additions, 4 deletionsthunar/thunar-tree-model.c
- thunar/thunar-tree-model.h 6 additions, 2 deletionsthunar/thunar-tree-model.h
Loading
Please register or sign in to comment