]> git.0d.be Git - empathy.git/commitdiff
CallWindow: create the rectangles after the avatar
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Fri, 12 Aug 2011 15:51:45 +0000 (16:51 +0100)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Mon, 15 Aug 2011 11:14:55 +0000 (12:14 +0100)
As we want them to be on top of the avatar when they're shown.

src/empathy-call-window.c

index 6fc9cf8e1b89821d7cc3165542df8fc780f6d6e9..e8f5e092cf37b39644bd940b4e18bd5d5d7e6f9c 100644 (file)
@@ -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);