Merge pull request #43 from infirit/master

add the primary-toolbar style class to the primary toolbar
This commit is contained in:
Stefano Karapetsas 2013-11-06 07:32:33 -08:00
commit 4c04783ce1
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,