summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 257a6acb..67208a8a 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -7442,6 +7442,13 @@ ev_window_init (EvWindow *ev_window)
ev_window->priv->chrome = EV_CHROME_NORMAL;
ev_window->priv->title = ev_window_title_new (ev_window);
+#if GTK_CHECK_VERSION(3, 0, 0)
+ GtkStyleContext *context;
+
+ context = gtk_widget_get_style_context (GTK_WIDGET (ev_window));
+ gtk_style_context_add_class (context, "atril-window");
+#endif
+
ev_window->priv->main_box = gtk_vbox_new (FALSE, 0);
gtk_container_add (GTK_CONTAINER (ev_window), ev_window->priv->main_box);
gtk_widget_show (ev_window->priv->main_box);