[empathy] enable the camera-off button if call doens't have initial	video
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc: 
- Subject: [empathy] enable the camera-off button if call doens't have initial	video
- Date: Fri, 27 Nov 2009 16:41:54 +0000 (UTC)
commit 9e048d003178ce72ca6599cb8d847dd64427a2da
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Nov 25 13:08:09 2009 +0000
    enable the camera-off button if call doens't have initial video
 src/empathy-call-window.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 8d63338..8d2e79a 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1234,6 +1234,11 @@ empathy_call_window_constructed (GObject *object)
 
       display_video_preview (self, TRUE);
     }
+  else
+    {
+      gtk_toggle_tool_button_set_active (
+          GTK_TOGGLE_TOOL_BUTTON (priv->tool_button_camera_off), TRUE);
+    }
 }
 
 static void empathy_call_window_dispose (GObject *object);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]