[libchamplain/libchamplain-0-12] Minor changes



commit 0dd0bbbecf3b4960dbfe2b85de11cb5865b5f933
Author: Pablo Castellano <pablo anche no>
Date:   Mon Jun 18 14:27:43 2012 +0200

    Minor changes

 champlain/champlain-scale.c |    2 +-
 demos/launcher-gtk.py       |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-scale.c b/champlain/champlain-scale.c
index 0104568..1bc415e 100644
--- a/champlain/champlain-scale.c
+++ b/champlain/champlain-scale.c
@@ -482,7 +482,7 @@ create_scale (ChamplainScale *scale)
   clutter_actor_set_name (text, "scale-far-label");
   clutter_container_add_actor (CLUTTER_CONTAINER (priv->content_group), text);
 
-  text = clutter_text_new_with_text ("Sans 9", "X km");
+  text = clutter_text_new_with_text ("Sans 9", "X");
   clutter_actor_set_name (text, "scale-mid-label");
   clutter_container_add_actor (CLUTTER_CONTAINER (priv->content_group), text);
 
diff --git a/demos/launcher-gtk.py b/demos/launcher-gtk.py
index 4e79e68..b2220d6 100755
--- a/demos/launcher-gtk.py
+++ b/demos/launcher-gtk.py
@@ -7,6 +7,8 @@ from gi.repository import GObject, Gtk, Champlain, GtkChamplain
 
 from markers import create_marker_layer
 
+import os, sys
+os.chdir(os.path.dirname(os.path.abspath(sys.argv[0])))
 
 class LauncherGTK:
 



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