[empathy] disable video preview when we turn off video sending



commit a8f35052d171a1dff4be5eae80f4532ae735da7b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Nov 10 11:10:09 2009 +0000

    disable video preview when we turn off video sending

 src/empathy-call-window.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index ce05a49..0d03dd8 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2154,10 +2154,7 @@ empathy_call_window_set_send_video (EmpathyCallWindow *window,
 
   /* When we start sending video, we want to show the video preview by
      default. */
-  if (send)
-    {
-      display_video_preview (window, TRUE);
-    }
+  display_video_preview (window, send);
 
   g_object_get (priv->handler, "tp-call", &call, NULL);
   empathy_tp_call_request_video_stream_direction (call, send);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]