From 935986216bba15dd991a3de9272820d35cbfab74 Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 28 Jul 2014 16:27:09 +0200 Subject: window: add the primary-toolbar style to the toolbar Based on eog commit d1da84198d50703006e747b56ef8ba5107f7f3bd From Cosimo Cecchi --- src/eom-window.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/eom-window.c b/src/eom-window.c index 604f146..5d04f45 100644 --- a/src/eom-window.c +++ b/src/eom-window.c @@ -4369,6 +4369,11 @@ eom_window_construct_ui (EomWindow *window) "model", eom_application_get_toolbars_model (EOM_APP), NULL)); +#if GTK_CHECK_VERSION (3, 0, 2) + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (priv->toolbar)), + GTK_STYLE_CLASS_PRIMARY_TOOLBAR); +#endif + egg_editable_toolbar_show (EGG_EDITABLE_TOOLBAR (priv->toolbar), "Toolbar"); -- cgit v1.2.1