From ef79ba8294dbb740f38c3d15d732b7a8933264a7 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 3 Dec 2009 11:57:35 +0000 Subject: stop disabling the video-preview button when call is disconnected (#602937) --- src/empathy-call-window.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src') diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index f5a4a3782..7f2b4d043 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1570,13 +1570,6 @@ empathy_call_window_disconnected (EmpathyCallWindow *self) gtk_toggle_tool_button_set_active ( GTK_TOGGLE_TOOL_BUTTON (priv->mic_button), TRUE); - /* FIXME: This is to workaround the fact that the pipeline has been - * destroyed and so we can't display preview until a new call (and so a - * new pipeline) is created. We should fix this properly by refactoring - * the code managing the pipeline. This is bug #602937 */ - gtk_widget_set_sensitive (priv->tool_button_camera_preview, FALSE); - gtk_action_set_sensitive (priv->action_camera_preview, FALSE); - gtk_progress_bar_set_fraction ( GTK_PROGRESS_BAR (priv->volume_progress_bar), 0); @@ -2094,11 +2087,6 @@ empathy_call_window_connected (gpointer user_data) gtk_widget_set_sensitive (priv->mic_button, TRUE); - /* FIXME: this should won't be needed once bug #602937 is fixed - * (see empathy_call_window_disconnected for details) */ - gtk_widget_set_sensitive (priv->tool_button_camera_preview, TRUE); - gtk_action_set_sensitive (priv->action_camera_preview, TRUE); - empathy_call_window_update_avatars_visibility (call, self); g_object_unref (call); -- cgit v1.2.3