]> spindle.queued.net Git - midori/commitdiff
Hide the navigationbar initially
authorChristian Dywan <christian@twotoasts.de>
Sun, 10 Aug 2008 16:28:08 +0000 (18:28 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 10 Aug 2008 16:28:08 +0000 (18:28 +0200)
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.

midori/midori-browser.c

index 63c1ad0e6c14a90862469558d842cc2daa4f057a..612b1df8543c1bf0c0a7264524c4dda46415da0f 100644 (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);