summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-11-06 15:49:59 +0100
committerinfirit <[email protected]>2013-11-06 16:23:50 +0100
commitaf3a5d1f69509ac9c443591a66359a6eb4df8d02 (patch)
treefae43ae072bf6e5c129ecc69a9cd6d1af75cd0b4
parent18e207daee1a30b35246e7864d3128ae7e85a574 (diff)
downloadpluma-af3a5d1f69509ac9c443591a66359a6eb4df8d02.tar.bz2
pluma-af3a5d1f69509ac9c443591a66359a6eb4df8d02.tar.xz
add the primary-toolbar style class to the primary toolbar
-rw-r--r--pluma/pluma-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pluma/pluma-window.c b/pluma/pluma-window.c
index 7e1cee40..5fa926b6 100644
--- a/pluma/pluma-window.c
+++ b/pluma/pluma-window.c
@@ -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,