Skip to content
  • Darin Adler's avatar
    Fixed a bunch of bugs that were causing directory display to be · 5d691d77
    Darin Adler authored
    	even slower than it ought to be. The hysteresis wasn't working at
    	all because of the confusion about when files were ready for
    	display. Also changed hysteresis to 1 second and file chunk to 300
    	files instead of 100.
    
    	* libnautilus-private/nautilus-directory-async.c:
    	(link_info_gmc_link_read_callback): Fix function so it uses the
    	actual URI, not the thing that starts with URL. The old way it
    	was always failing to read. There were some other backwards if
    	statements in here too.
    
    	* src/file-manager/fm-directory-view.h:
    	* src/file-manager/fm-directory-view.c:
    	(fm_directory_view_initialize): Create "non-ready files" hash.
    	(fm_directory_view_destroy): Destroy it.
    	(real_file_still_belongs): Move this here from FMListView.
    	(still_should_show_file): New function, used to decide whether to
    	keep a file in the window or not.
    	(ready_to_load): New function, used to decide whether a file is
    	ready enough to show in the window.
    	(process_new...
    5d691d77