From 2360a56f96df9315b7cbcfc8bf3a3f8ddcb919cf Mon Sep 17 00:00:00 2001 From: Jonathan Tellier Date: Mon, 15 Jun 2009 16:07:59 -0400 Subject: The EmpathyCallHandler correctly initializes it "initial_video" property when the remote contact initiates the call. empathy_tp_call_is_(sending/receiving)_video correctly returns a gboolean. The remote avatar is correctly shown when the remote site does not send video. When a call is disconnected, the video preview is hidden. --- libempathy/empathy-call-handler.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libempathy/empathy-call-handler.c') diff --git a/libempathy/empathy-call-handler.c b/libempathy/empathy-call-handler.c index bbc1f9a88..dd117eb99 100644 --- a/libempathy/empathy-call-handler.c +++ b/libempathy/empathy-call-handler.c @@ -304,7 +304,9 @@ EmpathyCallHandler * empathy_call_handler_new_for_channel (EmpathyTpCall *call) { return EMPATHY_CALL_HANDLER (g_object_new (EMPATHY_TYPE_CALL_HANDLER, - "tp-call", call, NULL)); + "tp-call", call, + "initial-video", empathy_tp_call_is_receiving_video (call), + NULL)); } void -- cgit v1.2.3