diff options
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r-- | shell/ev-window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index cf40ae7d..1f989f85 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -6822,6 +6822,11 @@ ev_window_init (EvWindow *ev_window) NULL)); g_object_unref (toolbars_model); +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (ev_window->priv->toolbar)), + GTK_STYLE_CLASS_PRIMARY_TOOLBAR); +#endif + egg_editable_toolbar_show (EGG_EDITABLE_TOOLBAR (ev_window->priv->toolbar), "DefaultToolBar"); gtk_box_pack_start (GTK_BOX (ev_window->priv->main_box), |