2005-06-21 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-window.c(thunar_window_set_current_directory): Use thunar_file_open_as_folder() to open new folders. * thunar/thunar-folder.{c,h}: ThunarFolder is now an interface, which can be implemented in different ways. * thunar/thunar-local-folder.{c,h}: The previous ThunarFolder is now named ThunarLocalFolder. * thunar/thunar-file.{c,h}: Add thunar_file_open_as_folder() virtual method, which allows the ThunarFile implementation to choose an appropriate ThunarFolder implementation and thereby removes the need for the surrounding modules to "guess" the correct ThunarFolder. * thunar/thunar-local-file.c: Implement the open_as_folder() method for local files by simply instantiating a ThunarLocalFolder on the file in question. * thunar/thunar-trash-folder.{c,h}: The ThunarTrashFile class is now named ThunarTrashFolder as it really represents the trash toplevel folder. It also implements the ThunarFolder interface now. The real folder implementation is missing currently. * thunar/Makefile.am: Sync the build framework with the changes described above. (Old svn revision: 16345)
Showing
- ChangeLog 22 additions, 0 deletionsChangeLog
- thunar/Makefile.am 4 additions, 2 deletionsthunar/Makefile.am
- thunar/thunar-file.c 44 additions, 2 deletionsthunar/thunar-file.c
- thunar/thunar-file.h 11 additions, 0 deletionsthunar/thunar-file.h
- thunar/thunar-folder.c 89 additions, 381 deletionsthunar/thunar-folder.c
- thunar/thunar-folder.h 19 additions, 12 deletionsthunar/thunar-folder.h
- thunar/thunar-local-file.c 13 additions, 0 deletionsthunar/thunar-local-file.c
- thunar/thunar-local-folder.c 401 additions, 0 deletionsthunar/thunar-local-folder.c
- thunar/thunar-local-folder.h 44 additions, 0 deletionsthunar/thunar-local-folder.h
- thunar/thunar-trash-folder.c 306 additions, 0 deletionsthunar/thunar-trash-folder.c
- thunar/thunar-trash-folder.h 43 additions, 0 deletionsthunar/thunar-trash-folder.h
- thunar/thunar-window.c 1 addition, 1 deletionthunar/thunar-window.c
Loading
Please register or sign in to comment