[empathy: 44/99] Stop ringing after approving a Channel.Type.Call channel



commit 0d3fa03b5a9b8d2d9737c8f39aada70669fde194
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Wed Feb 23 16:45:16 2011 +0000

    Stop ringing after approving a Channel.Type.Call channel

 src/empathy-event-manager.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index d5d1480..32b8054 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -635,7 +635,8 @@ event_manager_approval_done (EventManagerApproval *approval)
 
       channel_type = tp_channel_get_channel_type_id (approval->main_channel);
 
-      if (channel_type == TP_IFACE_QUARK_CHANNEL_TYPE_STREAMED_MEDIA)
+      if (channel_type == TP_IFACE_QUARK_CHANNEL_TYPE_STREAMED_MEDIA ||
+          channel_type == TPY_IFACE_QUARK_CHANNEL_TYPE_CALL)
         {
           priv->ringing--;
           if (priv->ringing == 0)



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