]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-window.c
window: use the primary-toolbar style class for the window toolbar
[evince.git] / shell / ev-window.c
index 013ae3d36654d9dfc9b1278932388dcafa1de709..63eb87fae4f39baef155bce6bee204b8b5402f6b 100644 (file)
@@ -7110,6 +7110,10 @@ ev_window_init (EvWindow *ev_window)
                               NULL));
        g_object_unref (toolbars_model);
 
+       gtk_style_context_add_class
+               (gtk_widget_get_style_context (GTK_WIDGET (ev_window->priv->toolbar)),
+                GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
+
        egg_editable_toolbar_show (EGG_EDITABLE_TOOLBAR (ev_window->priv->toolbar),
                                   "DefaultToolBar");
        gtk_box_pack_start (GTK_BOX (ev_window->priv->main_box),