[empathy: 6/10] Move the video preview up



commit 1ad217678f139258b4e1e17768afa7738fcd1fdf
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Mon Aug 8 12:27:44 2011 +0100

    Move the video preview up
    
    So it's not on top of the floating toolbar.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656150

 src/empathy-call-window.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 7c2bbdd..9d66fb8 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -552,7 +552,9 @@ create_video_preview (EmpathyCallWindow *self)
       CLUTTER_BIN_ALIGNMENT_START);
   priv->video_preview = clutter_box_new (layout);
   clutter_actor_set_size (priv->video_preview,
-      SELF_VIDEO_SECTION_WIDTH + 10, SELF_VIDEO_SECTION_HEIGTH + 10);
+      SELF_VIDEO_SECTION_WIDTH + 10,
+      SELF_VIDEO_SECTION_HEIGTH + 10 +
+      FLOATING_TOOLBAR_HEIGHT + FLOATING_TOOLBAR_SPACING);
 
   layout_center = clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_CENTER,
       CLUTTER_BIN_ALIGNMENT_CENTER);



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