With bug #1420 done, we can add get_free_space() to ThunarFolder and it will be available to all platforms, independent of whether a working volume manager is present.
Better add it to ThunarFile, this way we can also use it in the properties dialog.
Committed with revision 19716. 2006-02-02 Benedikt Meurer <benny@xfce.org> * thunar/thunar-file.h: Add get_free_space() method to ThunarFile, so we can easily determine the amount free space for a given volume based on a file located on that volume. Bug #1421. * thunar/thunar-list-model.c(thunar_list_model_get_statusbar_text): Use new method thunar_file_get_free_space(). * thunar/thunar-properties-dialog.c: Display the amount of free space on a certain volume in the properties dialog for folders.