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-03-10 23:11:49 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-03-10 23:11:49 (GMT)
commite0a6fc7e1435f34db7a92088bb16c1a3189bfd88 (patch)
treeaaf6305040aa12ffa813eaa1b5539ea78d55a3a6 /editmap.py
parent9faf267e89d39027a10df88d8e673eaacefa230a (diff)
Change the mode property in MapNavView to view_mode
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'editmap.py')
-rw-r--r--editmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/editmap.py b/editmap.py
index f8a14ad..00da4c8 100644
--- a/editmap.py
+++ b/editmap.py
@@ -27,7 +27,7 @@ class EditMapWin(gtk.HBox):
left_vbox = gtk.VBox()
self.nav_view = MapNavView(self.game_map)
- self.nav_view.mode = MapNavView.MODE_EDIT
+ self.nav_view.view_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)