diff options
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 357c4e84d..8152b0019 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -821,23 +821,9 @@ ephy_window_set_chrome (EphyWindow *window, gtk_widget_hide (window->priv->menubar); } - if (flags & EMBED_CHROME_PERSONALTOOLBARON) - { - } - else - { - } - - if (flags & EMBED_CHROME_TOOLBARON) - { -/* egg_editable_toolbar_show - (EGG_EDITABLE_TOOLBAR (window->priv->toolbar));*/ - } - else - { -/* egg_editable_toolbar_hide - (EGG_EDITABLE_TOOLBAR (window->priv->toolbar));*/ - } + toolbar_set_visibility (window->priv->toolbar, + flags & EMBED_CHROME_TOOLBARON, + flags & EMBED_CHROME_PERSONALTOOLBARON); if (flags & EMBED_CHROME_STATUSBARON) { |