From 19171bd7fe27bc87fa68b3272a2715a710ea8c6b Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 18 Jan 2012 18:31:54 +0100 Subject: ephy-toolbar: set the MENUBAR style class That way we can drag the app using the toolbar itself. --- src/ephy-toolbar.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c index a6f169c95..48447eb0c 100644 --- a/src/ephy-toolbar.c +++ b/src/ephy-toolbar.c @@ -87,6 +87,11 @@ ephy_toolbar_constructed (GObject *object) toolbar = GTK_WIDGET (object); + /* Set the MENUBAR style class so it's possible to drag the app + * using the toolbar. */ + gtk_style_context_add_class (gtk_widget_get_style_context (toolbar), + GTK_STYLE_CLASS_MENUBAR); + /* Back and Forward */ back_forward = gtk_tool_item_new (); box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); -- cgit v1.2.3