]> git.0d.be Git - empathy.git/commitdiff
enable the camera-off button if call doens't have initial video
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 25 Nov 2009 13:08:09 +0000 (13:08 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 27 Nov 2009 16:33:44 +0000 (16:33 +0000)
src/empathy-call-window.c

index 8d63338ba14508a1f9664d63e7f9f7d8631b5bb9..8d2e79a2b7b2e6ae58ae29c33370c8721f6affaa 100644 (file)
@@ -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);