From: | "Alexandre Rostovtsev (tetromino)" <tetromino@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/libchamplain/files: libchamplain-0.12.0-redrawing.patch |
Date: | Wed, 02 Nov 2011 21:27:09 |
Message-Id: | 20111102212659.2E5042004C@flycatcher.gentoo.org |
1 | tetromino 11/11/02 21:26:59 |
2 | |
3 | Added: libchamplain-0.12.0-redrawing.patch |
4 | Log: |
5 | Bump to 0.12 from the gnome overlay, needed for empathy-3.2. Notable changes: better zoom. |
6 | |
7 | (Portage version: 2.2.0_alpha72/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-libs/libchamplain/files/libchamplain-0.12.0-redrawing.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libchamplain/files/libchamplain-0.12.0-redrawing.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libchamplain/files/libchamplain-0.12.0-redrawing.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: libchamplain-0.12.0-redrawing.patch |
16 | =================================================================== |
17 | From 864e445974de7c843cdb4ee008bad0a550e5af6e Mon Sep 17 00:00:00 2001 |
18 | From: Jiří Techet <techet@×××××.com> |
19 | Date: Thu, 06 Oct 2011 22:06:59 +0000 |
20 | Subject: When re-creating scale, remove all actors first |
21 | |
22 | Otherwise the previously inserted actors are still used for redrawing. |
23 | --- |
24 | diff --git a/champlain/champlain-scale.c b/champlain/champlain-scale.c |
25 | index 34f5f06..a4befcd 100644 |
26 | --- a/champlain/champlain-scale.c |
27 | +++ b/champlain/champlain-scale.c |
28 | @@ -476,6 +476,8 @@ create_scale (ChamplainScale *scale) |
29 | gfloat width; |
30 | ChamplainScalePrivate *priv = scale->priv; |
31 | |
32 | + clutter_group_remove_all (priv->content_group); |
33 | + |
34 | text = clutter_text_new_with_text ("Sans 9", "X km"); |
35 | clutter_actor_set_name (text, "scale-far-label"); |
36 | clutter_container_add_actor (CLUTTER_CONTAINER (priv->content_group), text); |
37 | -- |
38 | cgit v0.9.0.2 |