Hide the navigationbar initially

We need to make sure that the navigationbar
is initially invisible, so we hide it expressly.
Otherwise it shows up regardless of the
show-navigationbar setting.
This commit is contained in:
Christian Dywan 2008-08-10 18:28:08 +02:00
parent 212597f416
commit 323cf2458d

View file

@ -3368,6 +3368,7 @@ midori_browser_init (MidoriBrowser* browser)
gtk_toolbar_insert (GTK_TOOLBAR (browser->navigationbar),
GTK_TOOL_ITEM (browser->button_trash), -1);
sokoke_container_show_children (GTK_CONTAINER (browser->navigationbar));
gtk_widget_hide (browser->navigationbar);
action = gtk_action_group_get_action (browser->action_group, "Fullscreen");
browser->button_fullscreen = gtk_action_create_tool_item (action);
gtk_widget_hide (browser->button_fullscreen);