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:
parent
212597f416
commit
323cf2458d
1 changed files with 1 additions and 0 deletions
|
@ -3368,6 +3368,7 @@ midori_browser_init (MidoriBrowser* browser)
|
||||||
gtk_toolbar_insert (GTK_TOOLBAR (browser->navigationbar),
|
gtk_toolbar_insert (GTK_TOOLBAR (browser->navigationbar),
|
||||||
GTK_TOOL_ITEM (browser->button_trash), -1);
|
GTK_TOOL_ITEM (browser->button_trash), -1);
|
||||||
sokoke_container_show_children (GTK_CONTAINER (browser->navigationbar));
|
sokoke_container_show_children (GTK_CONTAINER (browser->navigationbar));
|
||||||
|
gtk_widget_hide (browser->navigationbar);
|
||||||
action = gtk_action_group_get_action (browser->action_group, "Fullscreen");
|
action = gtk_action_group_get_action (browser->action_group, "Fullscreen");
|
||||||
browser->button_fullscreen = gtk_action_create_tool_item (action);
|
browser->button_fullscreen = gtk_action_create_tool_item (action);
|
||||||
gtk_widget_hide (browser->button_fullscreen);
|
gtk_widget_hide (browser->button_fullscreen);
|
||||||
|
|
Loading…
Reference in a new issue