Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/editmap.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-05-01 07:03:00 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-05-01 07:03:00 (GMT)
commit8957651e74154850c9caddb36339d5abe3ad9538 (patch)
tree9b6ec18b188e3da665aa85cd4fbe5559d08a18aa /editmap.py
parent1dfcca8cf751ed78e81b8efa9e2d137dbd593826 (diff)
Add the StateView to the MapNavView in play mode
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'editmap.py')
-rw-r--r--editmap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/editmap.py b/editmap.py
index 11cfcc0..f64f3e3 100644
--- a/editmap.py
+++ b/editmap.py
@@ -26,7 +26,8 @@ class EditMapWin(gtk.HBox):
self.model.data['map_data'] = self.game_map.data
left_vbox = gtk.VBox()
- self.nav_view = MapNavView(self.game_map, mode=MapNavView.MODE_EDIT)
+ self.nav_view = MapNavView(self.game_map, self.model,
+ mode=MapNavView.MODE_EDIT)
self.top_view = TopMapView(self.game_map, 150, 150)
self.top_view.show_position(self.nav_view.x, self.nav_view.y,
self.nav_view.direction)