aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-05-02 06:01:39 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-05-02 06:01:39 +0800
commit6a7c384dc6109f9bc5bf68703a325e77c8ebed19 (patch)
treec041de4c20b9107f2c8b12d582a42a114bb9d502
parentd67fbb76e66e25d1e9ced214e596363f677bee83 (diff)
downloadgsoc2013-empathy-6a7c384dc6109f9bc5bf68703a325e77c8ebed19.tar
gsoc2013-empathy-6a7c384dc6109f9bc5bf68703a325e77c8ebed19.tar.gz
gsoc2013-empathy-6a7c384dc6109f9bc5bf68703a325e77c8ebed19.tar.bz2
gsoc2013-empathy-6a7c384dc6109f9bc5bf68703a325e77c8ebed19.tar.lz
gsoc2013-empathy-6a7c384dc6109f9bc5bf68703a325e77c8ebed19.tar.xz
gsoc2013-empathy-6a7c384dc6109f9bc5bf68703a325e77c8ebed19.tar.zst
gsoc2013-empathy-6a7c384dc6109f9bc5bf68703a325e77c8ebed19.zip
Fix packing of the preview video.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1069 4ee84921-47dd-4033-b63a-18d7a039a3e4
-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),