[empathy] enable the camera-off button when call is disconnected
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] enable the camera-off button when call is disconnected
- Date: Fri, 27 Nov 2009 16:41:49 +0000 (UTC)
commit d7fa9cd2d46574d739d0ad78f7accf7410481ec6
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Nov 25 12:56:32 2009 +0000
enable the camera-off button when call is disconnected
Disabling the camera on button doesn't make sense any more.
src/empathy-call-window.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 867a106..8d63338 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]