Fixed bug 3578 (Mozilla component lacks tool bar button)

* components/mozilla/nautilus-mozilla-ui.xml:
	Turn on the XML for the tool bar.

	* src/nautilus-window-manage-views.c:
	(nautilus_window_set_content_view): Took out dead code.
This commit is contained in:
Darin Adler 2000-10-13 01:34:25 +00:00
parent d34d8df555
commit ab998de752
3 changed files with 14 additions and 8 deletions

View file

@ -1,3 +1,13 @@
2000-10-12 Darin Adler <darin@eazel.com>
Fixed bug 3578 (Mozilla component lacks tool bar button)
* components/mozilla/nautilus-mozilla-ui.xml:
Turn on the XML for the tool bar.
* src/nautilus-window-manage-views.c:
(nautilus_window_set_content_view): Took out dead code.
2000-10-12 J Shane Culpepper <pepper@eazel.com>
* nautilus.spec.in:

View file

@ -1,4 +1,5 @@
<Root>
<menu>
<submenu name="File" _label="_File">
<placeholder name="File Items Placeholder">
@ -10,9 +11,7 @@
</placeholder>
</submenu>
</menu>
<!-- The following is probably correct, but reveals a nasty bug
when leaving View as Web Page, so I'm temporarily commenting
it out.
<dockitem name="Tool Bar">
<placeholder name="Extra Buttons Placeholder">
<toolitem name="Mozilla Test Dock Item"
@ -22,5 +21,5 @@
verb="Mozilla Test Dock Item"/>
</placeholder>
</dockitem>
-->
</Root>
</Root>

View file

@ -1438,9 +1438,6 @@ nautilus_window_set_content_view (NautilusWindow *window, NautilusViewIdentifier
g_return_if_fail (window->location != NULL);
g_return_if_fail (id != NULL);
if (window->content_view != NULL) {
}
directory = nautilus_directory_get (window->location);
file = nautilus_file_get (window->location);
g_assert (directory != NULL);