Configuration.py: add "bgcolor" and "fgcolor" to <site> node

HUD: table hud and stat windows respect "bgcolor" and "fgcolor" on a per site basis
Tables: force tw.number to be an int in Unix
This commit is contained in:
eblade
2008-10-27 06:29:39 -04:00
parent 2bde12a6cf
commit 5f15a4f928
4 changed files with 27 additions and 5 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ def discover_posix(c):
if re.match('[\(\)\d\s]+', mo.group(2)): continue # this is a popup
tw = Table_Window()
tw.site = c.supported_sites[s].site_name
tw.number = mo.group(1)
tw.number = int(mo.group(1), 0)
tw.title = mo.group(2)
tw.width = int( mo.group(3) )
tw.height = int( mo.group(4) )