diff options
author | John Sullivan <sullivan@src.gnome.org> | 2000-06-19 22:50:12 +0000 |
---|---|---|
committer | John Sullivan <sullivan@src.gnome.org> | 2000-06-19 22:50:12 +0000 |
commit | f6c5cf4c2e58206a14bc80ab1f1a7cde035f3447 (patch) | |
tree | ffebcbd969b9c132a79e2198b666b1755336e72c /libnautilus-private/nautilus-icon-factory.h | |
parent | 60e23dcbe2053937823345c844924cdd6476c213 (diff) | |
download | nautilus-f6c5cf4c2e58206a14bc80ab1f1a7cde035f3447.tar.gz |
Finished bug 1401 (bookmark icon never updates) and some
related issues.
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_read_done): Call emit_metadata_changed so
change-watchers will know that new metadata is available.
(set_up_request_by_file_attributes): Added FIXME comment
about confusion between file attributes and metadata.
(is_anyone_waiting_for_metafile): Made it check monitor_list
as well as call_when_ready_list.
* libnautilus-extensions/nautilus-icon-factory.h,
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_required_file_attributes):
New function, returns the list of file attributes needed
to get the right icon for a file.
(nautilus_icon_factory_is_icon_ready_for_file): Rewrote
to call this new function.
* src/nautilus-bookmark-list.c:
(bookmark_in_list_changed_callback), (stop_monitoring_bookmark),
(stop_monitoring_one), (insert_bookmark_internal),
(nautilus_bookmark_list_append),
(nautilus_bookmark_list_delete_item_at),
(nautilus_bookmark_list_delete_items_with_uri),
(nautilus_bookmark_list_insert_item),
(nautilus_bookmark_list_load_file): Made bookmark list monitor
the "changed" signal of all its bookmarks, so it knows to save
new improved icons or names to disk.
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_set_uri): add file monitor in all cases,
not just if it's a directory; monitor the attributes needed for
getting an icon too. This fixes a bug where a custom icon on the
user's home directory wouldn't appear in the sidebar.
(release_file): remove file monitor in all cases.
Diffstat (limited to 'libnautilus-private/nautilus-icon-factory.h')
-rw-r--r-- | libnautilus-private/nautilus-icon-factory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-icon-factory.h b/libnautilus-private/nautilus-icon-factory.h index 55e8664dd..1bdc3c789 100644 --- a/libnautilus-private/nautilus-icon-factory.h +++ b/libnautilus-private/nautilus-icon-factory.h @@ -94,6 +94,7 @@ guint nautilus_get_icon_size_for_zoom_level (Nautil NautilusScalableIcon *nautilus_icon_factory_get_icon_for_file (NautilusFile *file, const char *modifier); gboolean nautilus_icon_factory_is_icon_ready_for_file (NautilusFile *file); +GList * nautilus_icon_factory_get_required_file_attributes (void); GList * nautilus_icon_factory_get_emblem_icons_for_file (NautilusFile *file); NautilusScalableIcon *nautilus_icon_factory_get_icon_by_name (const char *icon_name, const char *embedded_text); |