[snappy] ui: fix adding order so controls are on top



commit dab903b50f53ed462dc776122a38e43e3994d818
Author: Luis de Bethencourt <luis debethencourt com>
Date:   Fri Apr 27 10:45:16 2012 +0100

    ui: fix adding order so controls are on top

 src/user_interface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/user_interface.c b/src/user_interface.c
index 954199c..b3d59a0 100644
--- a/src/user_interface.c
+++ b/src/user_interface.c
@@ -1083,11 +1083,11 @@ interface_start (UserInterface * ui, gchar * uri)
   load_controls (ui);
 
   // Add video texture and control UI to stage
+  clutter_container_add (CLUTTER_CONTAINER (ui->stage), ui->texture, NULL);
   if (!ui->hide) {
     clutter_container_add (CLUTTER_CONTAINER (ui->stage), ui->control_box,
         NULL);
   }
-  clutter_container_add (CLUTTER_CONTAINER (ui->stage), ui->texture, NULL);
   clutter_actor_add_constraint (ui->texture,
       clutter_align_constraint_new (ui->stage, CLUTTER_ALIGN_X_AXIS, 0.5));
   clutter_actor_add_constraint (ui->texture,



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