add the primary-toolbar style class to the primary toolbar

This commit is contained in:
infirit 2013-11-06 15:49:59 +01:00
parent 18e207daee
commit af3a5d1f69
1 changed files with 4 additions and 0 deletions

View File

@ -1649,6 +1649,10 @@ create_menu_bar_and_toolbar (PlumaWindow *window,
0);
window->priv->toolbar = gtk_ui_manager_get_widget (manager, "/ToolBar");
#if GTK_CHECK_VERSION(3, 0, 0)
gtk_style_context_add_class (gtk_widget_get_style_context (window->priv->toolbar),
GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
#endif
gtk_box_pack_start (GTK_BOX (main_box),
window->priv->toolbar,
FALSE,