diff options
author | Christian Dywan <christian.dywan@canonical.com> | 2014-01-07 00:05:10 +0100 |
---|---|---|
committer | Christian Dywan <christian.dywan@canonical.com> | 2014-01-07 00:05:10 +0100 |
commit | 95e6c0358481818babac1f3160728a37f37bc028 (patch) | |
tree | 8d3bb51404040d98a4167eb328957dceda762154 | |
parent | 55f4323d16f532b7649260b6719f44a47520f9ab (diff) | |
download | midori-95e6c0358481818babac1f3160728a37f37bc028.tar.gz |
Also hide the panel in popup dialogs
-rw-r--r-- | midori/midori-browser.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 6126b893..8f460743 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -1562,11 +1562,12 @@ midori_view_new_view_cb (GtkWidget* view, g_object_set (new_browser, "show-tabs", FALSE, NULL); - _action_set_visible (new_browser, "Menubar", FALSE); - _action_set_visible (new_browser, "Bookmarkbar", FALSE); - _action_set_visible (new_browser, "Statusbar", FALSE); + sokoke_widget_set_visible (new_browser->menubar, FALSE); + sokoke_widget_set_visible (new_browser->bookmarkbar, FALSE); + sokoke_widget_set_visible (new_browser->statusbar, FALSE); _action_set_visible (new_browser, "CompactMenu", FALSE); _midori_browser_set_toolbar_items (new_browser, "Location"); + sokoke_widget_set_visible (new_browser->panel, FALSE); midori_browser_add_tab (new_browser, new_view); midori_browser_set_current_tab (new_browser, new_view); return; |