Commit 881aadbd authored by Xavier Claessens's avatar Xavier Claessens

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

svn path=/trunk/; revision=879
parent bb85e99d
......@@ -179,7 +179,7 @@ call_window_delete_event_cb (GtkWidget *widget,
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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment