Use secondary toolbar style for bookmarks bar
Fixes: https://bugs.launchpad.net/midori/+bug/870854
This commit is contained in:
parent
b378554df2
commit
ac272d2f48
1 changed files with 4 additions and 0 deletions
|
@ -6177,6 +6177,10 @@ midori_browser_init (MidoriBrowser* browser)
|
||||||
|
|
||||||
/* Bookmarkbar */
|
/* Bookmarkbar */
|
||||||
browser->bookmarkbar = gtk_toolbar_new ();
|
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_widget_set_name (browser->bookmarkbar, "MidoriBookmarkbar");
|
||||||
gtk_toolbar_set_icon_size (GTK_TOOLBAR (browser->bookmarkbar),
|
gtk_toolbar_set_icon_size (GTK_TOOLBAR (browser->bookmarkbar),
|
||||||
GTK_ICON_SIZE_MENU);
|
GTK_ICON_SIZE_MENU);
|
||||||
|
|
Loading…
Reference in a new issue