empathy r879 - trunk/src



Author: xclaesse
Date: Wed Apr  9 13:15:11 2008
New Revision: 879
URL: http://svn.gnome.org/viewvc/empathy?rev=879&view=rev

Log:
Ask confirmation to close call only if it was accepted. Fixes bug #526927 (Frederic Peters).


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	Wed Apr  9 13:15:11 2008
@@ -179,7 +179,7 @@
 
   g_object_get (G_OBJECT (window->call), "status", &status, NULL);
 
-  if (status != EMPATHY_TP_CALL_STATUS_CLOSED)
+  if (status == EMPATHY_TP_CALL_STATUS_ACCEPTED)
     {
       dialog = gtk_message_dialog_new (GTK_WINDOW (window->window),
           GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,



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