empathy r2641 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2641 - trunk/src
- Date: Sun, 8 Mar 2009 20:18:41 +0000 (UTC)
Author: xclaesse
Date: Sun Mar 8 20:18:41 2009
New Revision: 2641
URL: http://svn.gnome.org/viewvc/empathy?rev=2641&view=rev
Log:
Set the camera button sensitive while connected and there is a video input
Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>
Modified:
trunk/src/empathy-call-window.c
Modified: trunk/src/empathy-call-window.c
==============================================================================
--- trunk/src/empathy-call-window.c (original)
+++ trunk/src/empathy-call-window.c Sun Mar 8 20:18:41 2009
@@ -188,6 +188,7 @@
camera = glade_xml_get_widget (priv->glade, "camera");
priv->camera_button = camera;
gtk_toggle_tool_button_set_active (GTK_TOGGLE_TOOL_BUTTON (camera), FALSE);
+ gtk_widget_set_sensitive (priv->camera_button, FALSE);
g_signal_connect (G_OBJECT (camera), "toggled",
G_CALLBACK (empathy_call_window_camera_toggled_cb), self);
@@ -835,6 +836,9 @@
if (empathy_tp_call_has_dtmf (call))
gtk_widget_set_sensitive (priv->dtmf_panel, TRUE);
+ if (priv->video_input != NULL)
+ gtk_widget_set_sensitive (priv->camera_button, TRUE);
+
g_object_unref (call);
g_mutex_lock (priv->lock);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]