Commit fc3403b7 authored by Maciej Stachowiak's avatar Maciej Stachowiak

Enable both html-appropriate and directory-appropriate views for

        * src/ntl-uri-map.c (my_notify_when_ready): Enable both
        html-appropriate and directory-appropriate views for
	special/webdav-directory mime type (temporary hack).
parent 5f4af6f1
2000-03-10 Maciej Stachowiak <mjs@eazel.com>
* src/ntl-uri-map.c (my_notify_when_ready): Enable both
html-appropriate and directory-appropriate views for
special/webdav-directory mime type (temporary hack).
2000-03-09 Darin Adler <darin@eazel.com>
* libnautilus/gnome-icon-container.c (set_scroll_region):
......
......@@ -211,6 +211,26 @@ my_notify_when_ready(GnomeVFSAsyncHandle *ah, GnomeVFSResult result,
navinfo->content_identifiers,
nautilus_view_identifier_new ("ntl_file_manager_list_view", "List"));
/* besides the information in OAF/GConf, we also want to offer components that are specifically refered to in the metadata,
so we ask the metadata for content views here and add them accordingly. */
/* FIXME: for now, we just do this for directories but it should apply to all places with available metadata */
add_components_from_metadata(navinfo);
}
else if(!strcmp(navinfo->navinfo.content_type, "special/webdav-directory"))
{
navinfo->default_content_iid = "ntl_web_browser";
navinfo->content_identifiers = g_slist_append (navinfo->content_identifiers,
nautilus_view_identifier_new ("ntl_web_browser", "Web Page"));
navinfo->content_identifiers = g_slist_append (navinfo->content_identifiers,
nautilus_view_identifier_new ("ntl_file_manager_icon_view", "Icons"));
navinfo->content_identifiers = g_slist_append (navinfo->content_identifiers,
nautilus_view_identifier_new ("ntl_file_manager_list_view", "List"));
navinfo->content_identifiers = g_slist_append (navinfo->content_identifiers,
nautilus_view_identifier_new ("embeddable:text-plain", "Text"));
/* besides the information in OAF/GConf, we also want to offer components that are specifically refered to in the metadata,
so we ask the metadata for content views here and add them accordingly. */
......
......@@ -211,6 +211,26 @@ my_notify_when_ready(GnomeVFSAsyncHandle *ah, GnomeVFSResult result,
navinfo->content_identifiers,
nautilus_view_identifier_new ("ntl_file_manager_list_view", "List"));
/* besides the information in OAF/GConf, we also want to offer components that are specifically refered to in the metadata,
so we ask the metadata for content views here and add them accordingly. */
/* FIXME: for now, we just do this for directories but it should apply to all places with available metadata */
add_components_from_metadata(navinfo);
}
else if(!strcmp(navinfo->navinfo.content_type, "special/webdav-directory"))
{
navinfo->default_content_iid = "ntl_web_browser";
navinfo->content_identifiers = g_slist_append (navinfo->content_identifiers,
nautilus_view_identifier_new ("ntl_web_browser", "Web Page"));
navinfo->content_identifiers = g_slist_append (navinfo->content_identifiers,
nautilus_view_identifier_new ("ntl_file_manager_icon_view", "Icons"));
navinfo->content_identifiers = g_slist_append (navinfo->content_identifiers,
nautilus_view_identifier_new ("ntl_file_manager_list_view", "List"));
navinfo->content_identifiers = g_slist_append (navinfo->content_identifiers,
nautilus_view_identifier_new ("embeddable:text-plain", "Text"));
/* besides the information in OAF/GConf, we also want to offer components that are specifically refered to in the metadata,
so we ask the metadata for content views here and add them accordingly. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment