]> git.0d.be Git - empathy.git/commitdiff
Set the camera button insensitive after a call
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 16 Feb 2009 21:25:42 +0000 (21:25 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Mon, 16 Feb 2009 21:25:42 +0000 (21:25 +0000)
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2495

src/empathy-call-window.c

index 05681c6d648e6fc27c2fa36bd2a63dcd86e41104..b9dd5e5b3c3d893c102c3c2b20204b7a72f425eb 100644 (file)
@@ -539,8 +539,11 @@ static void
 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