diff options
author | raveit65 <[email protected]> | 2017-12-31 13:49:37 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-22 13:24:02 +0100 |
commit | 04cd721160fca092de0c2b6650f8775103cf487e (patch) | |
tree | a3007b851c022c1321aa694d5eb37e702299dad9 | |
parent | 20c06fd4cfa3d5f5df72f0a9edd184e4f3d9b7ad (diff) | |
download | atril-04cd721160fca092de0c2b6650f8775103cf487e.tar.bz2 atril-04cd721160fca092de0c2b6650f8775103cf487e.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.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c index 2ec298bb..290338e3 100644 --- a/previewer/ev-previewer-window.c +++ b/previewer/ev-previewer-window.c @@ -488,6 +488,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); } |