summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-06 07:32:33 -0800
committerStefano Karapetsas <[email protected]>2013-11-06 07:32:33 -0800
commit4c04783ce1ad841010d72d08a72a0bf23edc837f (patch)
treefae43ae072bf6e5c129ecc69a9cd6d1af75cd0b4
parent18e207daee1a30b35246e7864d3128ae7e85a574 (diff)
parentaf3a5d1f69509ac9c443591a66359a6eb4df8d02 (diff)
downloadpluma-4c04783ce1ad841010d72d08a72a0bf23edc837f.tar.bz2
pluma-4c04783ce1ad841010d72d08a72a0bf23edc837f.tar.xz
Merge pull request #43 from infirit/master
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,