[libchamplain/libchamplain-0-4] python-binding: disable markers by default in launcher-gtk.py
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain/libchamplain-0-4] python-binding: disable markers by default in launcher-gtk.py
- Date: Sat, 9 Jan 2010 19:59:17 +0000 (UTC)
commit 1ded3de4a7e1fc2e18c15733e5cbc9bfc6f3524f
Author: Victor Godoy Poluceno <victorpoluceno gmail com>
Date: Sat Jan 9 10:46:43 2010 -0200
python-binding: disable markers by default in launcher-gtk.py
bindings/python/demos/launcher-gtk.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/bindings/python/demos/launcher-gtk.py b/bindings/python/demos/launcher-gtk.py
index b8df7a2..d24658a 100755
--- a/bindings/python/demos/launcher-gtk.py
+++ b/bindings/python/demos/launcher-gtk.py
@@ -23,6 +23,7 @@ class LauncherGTK:
self.layer = create_marker_layer(self.view)
self.view.add_layer(self.layer)
+ self.layer.hide_all_markers()
self.polygon = polygon = champlain.Polygon()
# Cheap approx of Highway 10
@@ -53,7 +54,7 @@ class LauncherGTK:
bbox.add(button)
button = gtk.ToggleButton(label="Markers")
- button.set_active(True)
+ button.set_active(False)
button.connect("toggled", self.toggle_layer)
bbox.add(button)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]