Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cardtable.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-01-29 06:28:26 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-01-29 06:28:26 (GMT)
commite97bad397dde9e8faa7a85eab53812106f940df7 (patch)
treef67dfb28fc4a54fda9ff3755a0a1ce5f5a641d6d /cardtable.py
parent38020714053864459b196935b2544c40ebc2335b (diff)
Suppress wrong positions in players list OLPC#5242
Place current user at the end of players list all time. Update current-player position after HELLO procedure
Diffstat (limited to 'cardtable.py')
-rw-r--r--cardtable.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cardtable.py b/cardtable.py
index 608d8c5..e66437e 100644
--- a/cardtable.py
+++ b/cardtable.py
@@ -74,7 +74,8 @@ class CardTable(gtk.EventBox):
# do it once
self.set_size_request(size, size)
self._workspace_size = size
- self.load_game(None, self.data, self.cards_data)
+ if self.data:
+ self.load_game(None, self.data, self.cards_data)
def load_game(self, widget, data, grid):
self.data = data