empathy r2495 - trunk/src



Author: xclaesse
Date: Mon Feb 16 21:25:42 2009
New Revision: 2495
URL: http://svn.gnome.org/viewvc/empathy?rev=2495&view=rev

Log:
Set the camera button insensitive after a call

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	Mon Feb 16 21:25:42 2009
@@ -539,8 +539,11 @@
 empathy_call_window_channel_closed_cb (TfChannel *channel, gpointer user_data)
 {
   EmpathyCallWindow *self = EMPATHY_CALL_WINDOW (user_data);
+  EmpathyCallWindowPriv *priv = GET_PRIV (self);
 
   empathy_call_window_status_message (self, _("Disconnected"));
+
+  gtk_widget_set_sensitive (priv->camera_button, FALSE);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]