public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gnome:master commit in: media-libs/libchamplain/files/
@ 2011-10-18  8:08 Alexandre Restovtsev
  0 siblings, 0 replies; only message in thread
From: Alexandre Restovtsev @ 2011-10-18  8:08 UTC (permalink / raw
  To: gentoo-commits

commit:     4b1ce62e24f1e078b21f5c3f32a5bc4e07bb901b
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Tue Oct 18 08:07:43 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Tue Oct 18 08:07:43 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=4b1ce62e

media-libs/libchamplain: add missing patch

Brown-paper-bag commit.

---
 .../files/libchamplain-0.12.0-redrawing.patch      |   22 ++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/media-libs/libchamplain/files/libchamplain-0.12.0-redrawing.patch b/media-libs/libchamplain/files/libchamplain-0.12.0-redrawing.patch
new file mode 100644
index 0000000..e8fc116
--- /dev/null
+++ b/media-libs/libchamplain/files/libchamplain-0.12.0-redrawing.patch
@@ -0,0 +1,22 @@
+From 864e445974de7c843cdb4ee008bad0a550e5af6e Mon Sep 17 00:00:00 2001
+From: Jiří Techet <techet@gmail.com>
+Date: Thu, 06 Oct 2011 22:06:59 +0000
+Subject: When re-creating scale, remove all actors first
+
+Otherwise the previously inserted actors are still used for redrawing.
+---
+diff --git a/champlain/champlain-scale.c b/champlain/champlain-scale.c
+index 34f5f06..a4befcd 100644
+--- a/champlain/champlain-scale.c
++++ b/champlain/champlain-scale.c
+@@ -476,6 +476,8 @@ create_scale (ChamplainScale *scale)
+   gfloat width;
+   ChamplainScalePrivate *priv = scale->priv;
+ 
++  clutter_group_remove_all (priv->content_group);
++  
+   text = clutter_text_new_with_text ("Sans 9", "X km");
+   clutter_actor_set_name (text, "scale-far-label");
+   clutter_container_add_actor (CLUTTER_CONTAINER (priv->content_group), text);
+--
+cgit v0.9.0.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-18  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-18  8:08 [gentoo-commits] proj/gnome:master commit in: media-libs/libchamplain/files/ Alexandre Restovtsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox