From ac272d2f489d549292f27ab5115fb04c7e69112e Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 9 Oct 2011 14:48:12 +0200 Subject: [PATCH] Use secondary toolbar style for bookmarks bar Fixes: https://bugs.launchpad.net/midori/+bug/870854 --- midori/midori-browser.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 2005c9c4..2963faa3 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -6177,6 +6177,10 @@ midori_browser_init (MidoriBrowser* browser) /* Bookmarkbar */ browser->bookmarkbar = gtk_toolbar_new (); +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_style_context_add_class ( + gtk_widget_get_style_context (browser->bookmarkbar), "secondary-toolbar"); +#endif gtk_widget_set_name (browser->bookmarkbar, "MidoriBookmarkbar"); gtk_toolbar_set_icon_size (GTK_TOOLBAR (browser->bookmarkbar), GTK_ICON_SIZE_MENU); -- 2.39.5