[gnome-shell] [StBoxLayout] Add missing _queue_relayout in _add_actor
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] [StBoxLayout] Add missing _queue_relayout in _add_actor
- Date: Thu, 12 Nov 2009 16:41:25 +0000 (UTC)
commit 8040ad61c67620c8ef9f6a18eb1a04ab5f7fe983
Author: Colin Walters <walters verbum org>
Date: Wed Nov 11 11:54:08 2009 -0500
[StBoxLayout] Add missing _queue_relayout in _add_actor
https://bugzilla.gnome.org/show_bug.cgi?id=600734
src/st/st-box-layout.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c
index 8885f6a..90c7d71 100644
--- a/src/st/st-box-layout.c
+++ b/src/st/st-box-layout.c
@@ -260,6 +260,8 @@ st_box_container_add_actor (ClutterContainer *container,
priv->children = g_list_append (priv->children, actor);
+ clutter_actor_queue_relayout (CLUTTER_ACTOR (container));
+
g_signal_emit_by_name (container, "actor-added", actor);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]