Skip to content
  • Darin Adler's avatar
    reviewed by: John Sullivan <sullivan@eazel.com> · 4f3cae6a
    Darin Adler authored
    	Fixed bug 2233 (proper icon not selected switching views after
    	rename) by re-sending selection when the selection items change
    	since they might have changed names.
    
    	* src/file-manager/fm-directory-view.c: (done_loading): Moved
    	more of the done_loading code here for clarity.
    	(compare_pointers), (sort_and_check_for_intersection): Added
    	functions that quickly find if there's an intersection in two
    	GLists of NautilusFile objects.
    	(display_pending_files): Move some of the done_loading code into a
    	new function, do it after processing file changes, and add code to
    	send out the selection if a file change comes in for any items in
    	the selection (in case the name changed).
    	(display_selection_info_idle_callback),
    	(update_menus_idle_callback), (display_pending_idle_callback):
    	Make all of these more robust by keeping the NautilusView object
    	in a local variable.
    	(display_pending_timeout_callback): Do the "ref the NautilusView"
    	thing in this function too...
    4f3cae6a