[libchamplain/libchamplain-0-4] Make sure the licence and scale actors are on top
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain/libchamplain-0-4] Make sure the licence and scale actors are on top
- Date: Fri, 29 Jan 2010 02:51:42 +0000 (UTC)
commit f661520c4e57c22d8691bd38c0e08d1864e270e8
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date: Sat Jan 16 15:40:11 2010 -0500
Make sure the licence and scale actors are on top
champlain/champlain-view.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 320d30f..3059282 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -1396,6 +1396,7 @@ create_scale (ChamplainView *view)
priv->viewport_size.height - SCALE_HEIGHT - SCALE_PADDING - SCALE_INSIDE_PADDING);
clutter_actor_set_opacity (priv->scale_actor, 200);
+ clutter_actor_raise_top (priv->scale_actor);
}
static void
@@ -1445,12 +1446,6 @@ champlain_view_init (ChamplainView *view)
g_signal_connect (priv->viewport, "notify::y-origin",
G_CALLBACK (viewport_pos_changed_cb), view);
- /* Setup scale */
- create_scale (view);
-
- /* Setup license */
- create_license (view);
-
/* Setup finger scroll */
priv->finger_scroll = g_object_ref (tidy_finger_scroll_new (priv->scroll_mode));
@@ -1497,9 +1492,14 @@ champlain_view_init (ChamplainView *view)
priv->polygon_layer);
clutter_actor_raise (priv->polygon_layer, priv->map_layer);
- clutter_actor_raise_top (priv->scale_actor);
resize_viewport (view);
+ /* Setup scale */
+ create_scale (view);
+
+ /* Setup license */
+ create_license (view);
+
priv->state = CHAMPLAIN_STATE_DONE;
g_object_notify (G_OBJECT (view), "state");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]