aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-05-02 06:01:39 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-05-02 06:01:39 +0800
commit37f0dc455f02f42995115531be1aded43077fb77 (patch)
treec041de4c20b9107f2c8b12d582a42a114bb9d502
parent601e5eb3ff6709961f63ab16ee62754d8562e79e (diff)
downloadgsoc2013-empathy-37f0dc455f02f42995115531be1aded43077fb77.tar
gsoc2013-empathy-37f0dc455f02f42995115531be1aded43077fb77.tar.gz
gsoc2013-empathy-37f0dc455f02f42995115531be1aded43077fb77.tar.bz2
gsoc2013-empathy-37f0dc455f02f42995115531be1aded43077fb77.tar.lz
gsoc2013-empathy-37f0dc455f02f42995115531be1aded43077fb77.tar.xz
gsoc2013-empathy-37f0dc455f02f42995115531be1aded43077fb77.tar.zst
gsoc2013-empathy-37f0dc455f02f42995115531be1aded43077fb77.zip
Fix packing of the preview video.
svn path=/trunk/; revision=1069
-rw-r--r--src/empathy-call-window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index e8ae0a8b0..7c1f7e66f 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -487,11 +487,13 @@ empathy_call_window_new (EmpathyTpCall *call)
gtk_widget_set_size_request (window->preview_video_socket, 176, 144);
g_signal_connect (GTK_OBJECT (window->preview_video_socket), "realize",
G_CALLBACK (call_window_socket_realized_cb), window);
+ gtk_widget_show (window->preview_video_socket);
+
+ /* FIXME: We shouldn't do this if there is no video input */
gtk_box_pack_start (GTK_BOX (window->controls_vbox),
- window->preview_video_socket, TRUE, TRUE, 0);
+ window->preview_video_socket, FALSE, FALSE, 0);
gtk_box_reorder_child (GTK_BOX (window->controls_vbox),
window->preview_video_socket, 0);
- gtk_widget_show (window->preview_video_socket);
g_signal_connect_swapped (G_OBJECT (window->call), "notify",
G_CALLBACK (call_window_update),