aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-12 20:57:55 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-12 20:57:55 +0800
commit6662829273d54e291e90490fdaca8df4e2f6eab7 (patch)
tree37d30e779523f5db6dbadad4e24e88e7421293f6
parent1ad217678f139258b4e1e17768afa7738fcd1fdf (diff)
downloadgsoc2013-empathy-6662829273d54e291e90490fdaca8df4e2f6eab7.tar
gsoc2013-empathy-6662829273d54e291e90490fdaca8df4e2f6eab7.tar.gz
gsoc2013-empathy-6662829273d54e291e90490fdaca8df4e2f6eab7.tar.bz2
gsoc2013-empathy-6662829273d54e291e90490fdaca8df4e2f6eab7.tar.lz
gsoc2013-empathy-6662829273d54e291e90490fdaca8df4e2f6eab7.tar.xz
gsoc2013-empathy-6662829273d54e291e90490fdaca8df4e2f6eab7.tar.zst
gsoc2013-empathy-6662829273d54e291e90490fdaca8df4e2f6eab7.zip
CallWindow: make the preview margin a define
-rw-r--r--src/empathy-call-window.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 9d66fb876..e89b5209b 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -72,6 +72,7 @@
#define SELF_VIDEO_SECTION_WIDTH 120
#define SELF_VIDEO_SECTION_HEIGTH 90
+#define SELF_VIDEO_SECTION_MARGIN 10
#define FLOATING_TOOLBAR_OPACITY 192
#define FLOATING_TOOLBAR_WIDTH 280
@@ -552,8 +553,8 @@ 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 + SELF_VIDEO_SECTION_MARGIN,
+ SELF_VIDEO_SECTION_HEIGTH + SELF_VIDEO_SECTION_MARGIN +
FLOATING_TOOLBAR_HEIGHT + FLOATING_TOOLBAR_SPACING);
layout_center = clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_CENTER,