aboutsummaryrefslogtreecommitdiff
path: root/fastiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'fastiv.c')
-rw-r--r--fastiv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fastiv.c b/fastiv.c
index 4d2da78..f006e3f 100644
--- a/fastiv.c
+++ b/fastiv.c
@@ -394,6 +394,12 @@ main(int argc, char *argv[])
gtk_container_add(GTK_CONTAINER(g.view_scroller), g.view);
gtk_widget_show_all(g.view_scroller);
+ // Maybe our custom widgets should derive colours from the theme instead.
+ gtk_scrolled_window_set_overlay_scrolling(
+ GTK_SCROLLED_WINDOW(g.view_scroller), FALSE);
+ g_object_set(gtk_settings_get_default(),
+ "gtk-application-prefer-dark-theme", TRUE, NULL);
+
g.browser_scroller = gtk_scrolled_window_new(NULL, NULL);
g.browser = g_object_new(FASTIV_TYPE_BROWSER, NULL);
gtk_widget_set_vexpand(g.browser, TRUE);