diff options
Diffstat (limited to 'src/ephy-toolbar.c')
-rwxr-xr-x | src/ephy-toolbar.c | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c index f69d25a3c..2524764bd 100755 --- a/src/ephy-toolbar.c +++ b/src/ephy-toolbar.c @@ -736,9 +736,19 @@ ephy_toolbar_get_type (void) EphyToolbar * ephy_toolbar_new (EphyWindow *window) { - return EPHY_TOOLBAR (g_object_new (EPHY_TYPE_TOOLBAR, - "window", window, - "ui-manager", ephy_window_get_ui_manager (window), - "visibility-path", "/menubar/ViewMenu/ViewTogglesGroup/ToolbarMenu", - NULL)); + EggEditableToolbar *etoolbar; + + etoolbar = EGG_EDITABLE_TOOLBAR + (g_object_new (EPHY_TYPE_TOOLBAR, + "window", window, + "ui-manager", ephy_window_get_ui_manager (window), + "popup-path", "/ToolbarPopup", + NULL)); + + egg_editable_toolbar_add_visibility + (etoolbar, "/menubar/ViewMenu/ViewTogglesGroup/ToolbarMenu/ViewToolbarsGroup"); + egg_editable_toolbar_add_visibility + (etoolbar, "/ToolbarPopup/ViewToolbarsGroup"); + + return EPHY_TOOLBAR (etoolbar); } |