2006-03-15 Benedikt Meurer <benny@xfce.org>
* acinclude.m4(BM_THUNAR_VFS_VOLUME_IMPL): Handle "none" properly. * thunar-vfs/thunar-vfs-volume-manager.c, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-volume-private.h, thunar-vfs/thunar-vfs.symbols, thunar-vfs/thunar-vfs-volume.c, thunar-vfs/thunar-vfs-volume-none.c, thunar-vfs/thunar-vfs-volume.h, thunar-vfs/thunar-vfs-volume-hal.c, thunar-vfs/thunar-vfs-volume-freebsd.c: Improve the volume manager implemenation. The ThunarVfsVolumeManager and ThunarVfsVolume inter- faces are now abstract base classes, with the implementation API completely separated from the public API. The HAL backend was fixed to work around a strange HAL bug, where 'volume.is_mounted' is FALSE for mounted volumes (instead of trusting HAL, we ask the kernel to make sure we always display the proper state). Also, new signals "mounted", "pre-unmount" and "unmounted" were added to both ThunarVfsVolume and ThunarVfsVolumeManager, to allow applications to perform certain actions for these events. * docs/reference/thunar-vfs/: Update the API documentation. * thunar/thunar-window.c: Whenever the user requests to unmount a volume, check if the window displays a folder on this volume and if so, go to the home folder, to make sure we don't display a probably no longer existing mount point afterwards. (Old svn revision: 20438)
Showing
- ChangeLog 23 additions, 0 deletionsChangeLog
- acinclude.m4 2 additions, 0 deletionsacinclude.m4
- docs/reference/thunar-vfs/thunar-vfs-sections.txt 8 additions, 7 deletionsdocs/reference/thunar-vfs/thunar-vfs-sections.txt
- docs/reference/thunar-vfs/tmpl/thunar-vfs-volume-manager.sgml 31 additions, 18 deletions.../reference/thunar-vfs/tmpl/thunar-vfs-volume-manager.sgml
- docs/reference/thunar-vfs/tmpl/thunar-vfs-volume.sgml 24 additions, 19 deletionsdocs/reference/thunar-vfs/tmpl/thunar-vfs-volume.sgml
- thunar-vfs/Makefile.am 2 additions, 0 deletionsthunar-vfs/Makefile.am
- thunar-vfs/thunar-vfs-volume-freebsd.c 84 additions, 87 deletionsthunar-vfs/thunar-vfs-volume-freebsd.c
- thunar-vfs/thunar-vfs-volume-hal.c 150 additions, 160 deletionsthunar-vfs/thunar-vfs-volume-hal.c
- thunar-vfs/thunar-vfs-volume-manager.c 488 additions, 0 deletionsthunar-vfs/thunar-vfs-volume-manager.c
- thunar-vfs/thunar-vfs-volume-none.c 29 additions, 54 deletionsthunar-vfs/thunar-vfs-volume-none.c
- thunar-vfs/thunar-vfs-volume-private.h 111 additions, 0 deletionsthunar-vfs/thunar-vfs-volume-private.h
- thunar-vfs/thunar-vfs-volume.c 107 additions, 290 deletionsthunar-vfs/thunar-vfs-volume.c
- thunar-vfs/thunar-vfs-volume.h 8 additions, 91 deletionsthunar-vfs/thunar-vfs-volume.h
- thunar-vfs/thunar-vfs.symbols 3 additions, 0 deletionsthunar-vfs/thunar-vfs.symbols
- thunar/thunar-window.c 140 additions, 87 deletionsthunar/thunar-window.c
Loading
Please register or sign in to comment