Blob Blame History Raw
From 3e87371d592e01d35b1a09e9c17f2b7c2abc8273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Toms=20Bau=C4=A3is?= <toms.baugis@gmail.com>
Date: Fri, 22 Jul 2016 20:40:34 +0100
Subject: [PATCH] looks like gtk.DrawingArea doesn't care about background much
 anymore, so set it on the window. fixes #14

---
 bin/apx | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/apx b/bin/apx
index fa13fe0..c700187 100755
--- a/bin/apx
+++ b/bin/apx
@@ -344,6 +344,9 @@ class BasicWindow(object):
         w, h = self.game_scene.container.get_min_size()
         self.window.set_size_request(int(w), int(h))
 
+        self.window.override_background_color(gtk.StateType.NORMAL,
+                                              gdk.RGBA(*graphics.Colors.parse("#333")))
+
         splash_scene = splash.Scene()
         splash_scene.connect("on-key-press", self.on_splash_anykey)
         self.window.add(splash_scene)