From 3b99041059ea2147c296443a9460be67443776d0 Mon Sep 17 00:00:00 2001 From: Elias Aebi Date: Fri, 15 Nov 2013 18:01:26 +0100 Subject: add the primary-toolbar style class --- src/fr-window.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 */ -- cgit v1.2.1