Skip to content
  • Darin Adler's avatar
    Finished changing all callers that use metadata to use it in a way · 08068379
    Darin Adler authored
    	that is compatible with async. metadata reading.
    
    	* components/notes/ntl-notes.c:
    	(notes_load_metainfo): Changed to use nautilus_file_call_when_ready
    	to wait for the metadata. Also fixed a bug that was causing an assert
    	inside the call to gtk_editable_insert_text.
    	(main): Made warnings and criticals stop in the debugger.
    
    	* libnautilus/nautilus-directory.c:
    	* libnautilus/nautilus-directory.h:
    	(nautilus_directory_call_when_ready): Renamed the call to indicate
    	it can wait for more than just metadata. For now it does only wait
    	for metadata, though.
    	(nautilus_directory_cancel_callback): Renamed this too.
    
    	* libnautilus/nautilus-file.c:
    	(nautilus_file_call_when_ready), (nautilus_file_cancel_callback):
    	Made a corresponding call for the metadata of a single file.
    
    	* libnautilus/nautilus-gdk-extensions.c:
    	* src/nautilus-index-title.c:
    	Formatting changes.
    
    	* libnautilus/nautilus-metadata.h:
    	Clarified that ANNOTATION is a per-file piece of metadata.
    
    	* src/ntl-uri-map.c:
    	* src/file-manager/fm-directory-view.c:
    	Use new names of calls.
    
    	* src/file-manager/fm-icon-view.c:
    	* src/file-manager/fm-list-view.c:
    	Added comment.
    08068379