From 253837eb32f9fb2ab2b6cd8e60fb8880d04ba016 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Fri, 12 Aug 2011 16:51:45 +0100 Subject: CallWindow: create the rectangles after the avatar As we want them to be on top of the avatar when they're shown. --- src/empathy-call-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/empathy-call-window.c') diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 6fc9cf8e1..e8f5e092c 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1296,8 +1296,6 @@ empathy_call_window_init (EmpathyCallWindow *self) priv->video_box = clutter_box_new (priv->video_layout); - empathy_call_window_create_preview_rectangles (self); - priv->video_container = gtk_clutter_embed_new (); /* Set the background color to that of the rest of the window */ @@ -1331,6 +1329,8 @@ empathy_call_window_init (EmpathyCallWindow *self) clutter_container_add_actor (CLUTTER_CONTAINER (priv->video_box), remote_avatar); + empathy_call_window_create_preview_rectangles (self); + gtk_box_pack_start (GTK_BOX (priv->content_hbox), priv->video_container, TRUE, TRUE, CONTENT_HBOX_CHILDREN_PACKING_PADDING); -- cgit v1.2.3