[Xfce4-commits] <midori:master> Use secondary toolbar style for bookmarks bar
Christian Dywan
noreply at xfce.org
Sun Oct 9 14:50:02 CEST 2011
Updating branch refs/heads/master
to ac272d2f489d549292f27ab5115fb04c7e69112e (commit)
from b378554df2b1a72069a26d394046455aeb793d7c (commit)
commit ac272d2f489d549292f27ab5115fb04c7e69112e
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Oct 9 14:48:12 2011 +0200
Use secondary toolbar style for bookmarks bar
Fixes: https://bugs.launchpad.net/midori/+bug/870854
midori/midori-browser.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 2005c9c..2963faa 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);
More information about the Xfce4-commits
mailing list