From: Christian Dywan Date: Sun, 9 Oct 2011 12:48:12 +0000 (+0200) Subject: Use secondary toolbar style for bookmarks bar X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac272d2f489d549292f27ab5115fb04c7e69112e;p=midori Use secondary toolbar style for bookmarks bar Fixes: https://bugs.launchpad.net/midori/+bug/870854 --- 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);