[emerillon] Enable scale in champlain 0.4.3



commit 7f70e7cbb1ec83c35666050393a619d6b9504947
Author: Pierre-Luc Beaudoin <pierre-luc beaudoin novopia com>
Date:   Tue Dec 15 16:00:42 2009 -0500

    Enable scale in champlain 0.4.3

 emerillon/window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/emerillon/window.c b/emerillon/window.c
index 131312e..82f74c6 100644
--- a/emerillon/window.c
+++ b/emerillon/window.c
@@ -774,6 +774,9 @@ build_ui (EmerillonWindow *self)
       G_CALLBACK (state_changed_cb), self);
   g_object_set (self->priv->view, "zoom-level", 1,
       "scroll-mode", CHAMPLAIN_SCROLL_MODE_KINETIC,
+#if CHAMPLAIN_CHECK_VERSION (0, 4, 3)
+      "show-scale", TRUE,
+#endif
       NULL);
   champlain_view_center_on (self->priv->view, 40, 0);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]