summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElias Aebi <[email protected]>2013-11-15 18:01:26 +0100
committerElias Aebi <[email protected]>2013-11-15 18:01:26 +0100
commit3b99041059ea2147c296443a9460be67443776d0 (patch)
treedc9dfaacbc8820fb0a810c30710b2b03e7f1f705 /src
parent612e6529a66899e5466b9bf4bd9bdc2443075896 (diff)
downloadengrampa-3b99041059ea2147c296443a9460be67443776d0.tar.bz2
engrampa-3b99041059ea2147c296443a9460be67443776d0.tar.xz
add the primary-toolbar style class
Diffstat (limited to 'src')
-rw-r--r--src/fr-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index 12fdce6..b5ee695 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -5823,6 +5823,9 @@ fr_window_construct (FrWindow *window)
window->priv->toolbar = toolbar = gtk_ui_manager_get_widget (ui, "/ToolBar");
gtk_toolbar_set_show_arrow (GTK_TOOLBAR (toolbar), TRUE);
+#if GTK_CHECK_VERSION(3,0,0)
+ gtk_style_context_add_class (gtk_widget_get_style_context (toolbar), GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
+#endif
set_action_important (ui, "/ToolBar/Extract_Toolbar");
/* location bar */