[eog-plugins/map-plugin-fixes: 6/7] Turn on Scale



commit 597ff4f4e3bdf3c97c64dd627777473e3dc4e5b0
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date:   Fri Feb 5 17:31:27 2010 -0500

    Turn on Scale

 plugins/map/eog-map-plugin.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/map/eog-map-plugin.c b/plugins/map/eog-map-plugin.c
index 8a56b1f..24bbbc3 100644
--- a/plugins/map/eog-map-plugin.c
+++ b/plugins/map/eog-map-plugin.c
@@ -308,6 +308,9 @@ impl_activate (EogPlugin *plugin,
 	g_object_set (G_OBJECT (data->map),
 		"zoom-level", 3,
 		"scroll-mode", CHAMPLAIN_SCROLL_MODE_KINETIC,
+#if CHAMPLAIN_CHECK_VERSION (0,4,3)
+		"show-scale", TRUE,
+#endif
 		NULL);
 	gtk_container_add (GTK_CONTAINER (viewport), embed);
 



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