From 91adc06a05e3d2774508278b864d1c3818bacf64 Mon Sep 17 00:00:00 2001 From: Raphael Groner Date: Sun, 31 Jul 2016 11:54:38 +0200 Subject: [PATCH] merge with tstriker master (#2) * knits (2to3 rendered some bugs) * move apx icon to share/icons/hicolor/scalable/ closes #8 * 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)