Re: [Nautilus-list] large file sizes not showing up



On 2/8/02 12:33 AM, "Brian J. Murrell"
<b639f8645193f83c248aa02db5acaa26 interlinx bc ca> wrote:

> For whatever reason, GNOME_VFS_FILE_INFO_FIELDS_SIZE is missing.
> 
> Any more ideas?

Well, the GNOME_VFS_FILE_INFO_FIELDS_SIZE flag should be set by gnome-vfs. A
good next check would be to verify that it's set correctly when you make
gnome_vfs_get_file_info call or from a gnome_vfs_directory_open and
gnome-vfs_directory_read_next.

In Nautilus, this info typically comes from the result of the
gnome_vfs_async_load_directory call in start_monitoring_file_list. The file
info comes back in the list parameter to directory_load_callback, which
calls directory_load_one on each element of the list.

The async. implementation of gnome_vfs_async_load_directory is in
load_directory_details in gnome-vfs, and calls
gnome_vfs_directory_open_from_uri_cancellable, then
gnome_vfs_directory_read_next_cancellable.

    -- Darin





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]