Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/game.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2011-09-22 15:05:58 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2011-09-27 15:30:30 (GMT)
commitd77536b55a1b4e3c0d0d60e7a88275ba10f0cb32 (patch)
tree0a77544bbd2ee6671e096ac420db53339acc4abf /game.py
parent223f57dea940a4932277ae7e16cd30e1c04fe9df (diff)
Fix call to load_remote
I accidentally removed a needed parameter in the call to the method, and then the model.data['mode'] have a wrong value, and dbus chash the activity. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'game.py')
-rw-r--r--game.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/game.py b/game.py
index b023e85..5217f7c 100644
--- a/game.py
+++ b/game.py
@@ -322,7 +322,8 @@ class MemorizeGame(GObject):
size = int(self.model.data['size'])
self.model.count = 0
self.model.def_grid(size)
- self.load_remote(self.model.grid, self.model.data, False)
+ self.load_remote(self.model.grid, self.model.data,
+ self.model.data['mode'],False)
def set_load_mode(self, msg):
self.emit('load_mode', msg)