aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-25 20:56:32 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-28 00:33:44 +0800
commitd7fa9cd2d46574d739d0ad78f7accf7410481ec6 (patch)
tree07457a425ebe9aa40ed2462a1b490dcd7c790a63
parente0a94c57e1266deadd58f158989980c91d7ab4ee (diff)
downloadgsoc2013-empathy-d7fa9cd2d46574d739d0ad78f7accf7410481ec6.tar
gsoc2013-empathy-d7fa9cd2d46574d739d0ad78f7accf7410481ec6.tar.gz
gsoc2013-empathy-d7fa9cd2d46574d739d0ad78f7accf7410481ec6.tar.bz2
gsoc2013-empathy-d7fa9cd2d46574d739d0ad78f7accf7410481ec6.tar.lz
gsoc2013-empathy-d7fa9cd2d46574d739d0ad78f7accf7410481ec6.tar.xz
gsoc2013-empathy-d7fa9cd2d46574d739d0ad78f7accf7410481ec6.tar.zst
gsoc2013-empathy-d7fa9cd2d46574d739d0ad78f7accf7410481ec6.zip
enable the camera-off button when call is disconnected
Disabling the camera on button doesn't make sense any more.
-rw-r--r--src/empathy-call-window.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 867a10654..8d63338ba 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1514,8 +1514,6 @@ empathy_call_window_disconnected (EmpathyCallWindow *self)
if (could_reset_pipeline)
{
- gboolean initial_video = empathy_call_handler_has_initial_video (
- priv->handler);
g_mutex_lock (priv->lock);
g_timer_stop (priv->timer);
@@ -1536,7 +1534,7 @@ empathy_call_window_disconnected (EmpathyCallWindow *self)
gtk_widget_set_sensitive (priv->tool_button_camera_on, FALSE);
gtk_widget_set_sensitive (priv->mic_button, FALSE);
gtk_toggle_tool_button_set_active (
- GTK_TOGGLE_TOOL_BUTTON (priv->tool_button_camera_on), initial_video);
+ GTK_TOGGLE_TOOL_BUTTON (priv->tool_button_camera_off), TRUE);
gtk_toggle_tool_button_set_active (
GTK_TOGGLE_TOOL_BUTTON (priv->mic_button), TRUE);