Skip to content
  • Darin Adler's avatar
    reviewed by: John Sullivan <sullivan@eazel.com> · ce4e7c67
    Darin Adler authored
    	Fix bug 6147 (selected icons flash unselected/selected rapidly):
    
    	* src/nautilus-window-manage-views.c: (change_selection): Don't
    	send out selection change notices to the view that reported the
    	selection change.
    	(change_selection_callback): Pass in view that requested the
    	change so we can know not to send a selection change to that view.
    	* src/file-manager/fm-directory-view.c:
    	(fm_directory_view_send_selection_change): Clear flag that says we
    	have a selection change for the shell.
    	(selection_changed_callback): Add code to indicate this selection
    	change is due to the shell, so we don't tell the shell about
    	something it just told us.
    	(done_loading): Set flag so we don't tell the shell about selection
    	changes that are part of the first load of the directory.
    	(display_selection_info_idle_callback): Only send a selection change
    	to the shell if the change was initiated here. Also remove the code
    	that ref's the NautilusView object -- wasn't helpin...
    ce4e7c67