[empathy: 15/18] CallWindow: create the rectangles after the avatar



commit 253837eb32f9fb2ab2b6cd8e60fb8880d04ba016
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Fri Aug 12 16:51:45 2011 +0100

    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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 6fc9cf8..e8f5e09 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]