aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ec023ff83..30b51ce6f 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -417,8 +417,15 @@ add_widget (EggMenuMerge *merge, GtkWidget *widget, EphyWindow *window)
}
else
{
+ GtkWidget *event_box;
+
window->priv->toolbars = g_list_append
(window->priv->toolbars, widget);
+
+ event_box = gtk_event_box_new ();
+ gtk_widget_show (event_box);
+ gtk_container_add (GTK_CONTAINER (event_box), widget);
+ widget = event_box;
}
gtk_box_pack_start (GTK_BOX (window->priv->menu_dock),