From 76a7dfdf4fcd250f7787c166da87e1bfa6b70761 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 25 Nov 2009 11:32:30 +0000 Subject: disable_camera: disable send video only if we were sending it --- src/empathy-call-window.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 171894adb..1d7b74dc5 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -743,7 +743,9 @@ disable_camera (EmpathyCallWindow *self) DEBUG ("disable camera"); display_video_preview (self, FALSE); - empathy_call_window_set_send_video (self, FALSE); + + if (priv->camera_state == CAMERA_STATE_ON) + empathy_call_window_set_send_video (self, FALSE); block_camera_control_signals (self); gtk_toggle_tool_button_set_active (GTK_TOGGLE_TOOL_BUTTON ( -- cgit v1.2.3