summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-12-31 13:49:37 +0100
committerraveit65 <[email protected]>2017-12-31 13:51:06 +0100
commit2647b132fa092489c2dd5fb5275e945dcdd27e3c (patch)
tree0c16135d85bda203475b20cff51f8d0d0fb98809
parentc4911e303edd2352597ec5879df1137fd0a83274 (diff)
downloadatril-2647b132fa092489c2dd5fb5275e945dcdd27e3c.tar.bz2
atril-2647b132fa092489c2dd5fb5275e945dcdd27e3c.tar.xz
previewer: add style class atril-previewer-window
Fixes https://github.com/mate-desktop/atril/issues/289
-rw-r--r--previewer/ev-previewer-window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c
index 483ff08c..9200dd5e 100644
--- a/previewer/ev-previewer-window.c
+++ b/previewer/ev-previewer-window.c
@@ -472,6 +472,11 @@ data_dir (void)
static void
ev_previewer_window_init (EvPreviewerWindow *window)
{
+ GtkStyleContext *context;
+
+ context = gtk_widget_get_style_context (GTK_WIDGET (window));
+ gtk_style_context_add_class (context, "atril-previewer-window");
+
gtk_window_set_default_size (GTK_WINDOW (window), 600, 600);
}