diff options
author | Muriel de Souza Godoi <muriel@laptop.org> | 2007-10-09 13:28:07 (GMT) |
---|---|---|
committer | Muriel de Souza Godoi <muriel@laptop.org> | 2007-10-09 13:28:07 (GMT) |
commit | 31c6ee1613f4b335a56eb3da794042ddc636c91e (patch) | |
tree | 942c885d132946de14882ad19e12a0d4abab2816 /playerscoreboard.py | |
parent | 6f4c5ccceeaf86dff3d8ad92cc049c0437980a3c (diff) |
Main release of create game mode. Game sharing is broken
Diffstat (limited to 'playerscoreboard.py')
-rwxr-xr-x | playerscoreboard.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/playerscoreboard.py b/playerscoreboard.py index 32bf551..e7f2835 100755 --- a/playerscoreboard.py +++ b/playerscoreboard.py @@ -21,9 +21,12 @@ import gtk, pygtk import pango import svglabel +import logging import os from score import Score +_logger = logging.getLogger('memorize-activity') + class PlayerScoreboard(gtk.EventBox): def __init__(self, nick, fill_color, stroke_color,score = 0): @@ -77,6 +80,7 @@ class PlayerScoreboard(gtk.EventBox): self.increase_score() def increase_score(self): + _logger.debug('Increase to: '+self.nick.get_text()) if len(self.scores) == 0: # Cache the score icon score_label = Score(self.fill_color, self.stroke_color) |