Skip to content
  • John Sullivan's avatar
    reviewed by: Pavel Cisler <pavel@eazel.com> · b450cc9e
    John Sullivan authored
    	Fixed bug 5157 (Nautilus won't display directories for
    	which it thinks it doesn't have permissions)
    
    	I removed the code that prevented Nautilus from even
    	trying to load a location for which the perceived
    	permissions didn't allow reading (because the perceived
    	permissions can be wrong with some file systems). Now
    	it always tries, and puts up an error dialog only if
    	it gets an error while actually loading the directory.
    
    	* src/file-manager/fm-error-reporting.h:
    	* src/file-manager/fm-error-reporting.c:
    	(fm_report_error_loading_directory): New function, currently
    	only handles GNOME_VFS_ERROR_ACCESS_DENIED and a fallback
    	default case.
    	(fm_report_error_renaming_file), (fm_report_error_setting_group),
    	(fm_report_error_setting_owner),
    	(fm_report_error_setting_permissions), (rename_callback):
    	All the report_error functions now take a parent-window
    	parameter (which is often NULL). Also, they now all use
    	gnome_vfs_error_result_to_string when whining abo...
    b450cc9e