diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2011-09-22 15:05:58 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2011-09-27 15:30:30 (GMT) |
commit | d77536b55a1b4e3c0d0d60e7a88275ba10f0cb32 (patch) | |
tree | 0a77544bbd2ee6671e096ac420db53339acc4abf /game.py | |
parent | 223f57dea940a4932277ae7e16cd30e1c04fe9df (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.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |