[empathy: 31/99] Check for TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED when a call fails



commit 9be16f5be776b52b54f6fc9b4f8bccb167177162
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Thu Mar 10 15:12:15 2011 +0000

    Check for TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED when a call fails

 libempathy-gtk/empathy-call-utils.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-call-utils.c b/libempathy-gtk/empathy-call-utils.c
index 2c7d6d1..425cda5 100644
--- a/libempathy-gtk/empathy-call-utils.c
+++ b/libempathy-gtk/empathy-call-utils.c
@@ -51,6 +51,8 @@ get_error_display_message (GError *error)
         return _("The specified contact is offline");
       case TP_ERROR_INVALID_HANDLE:
         return _("The specified contact is not valid");
+      case TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED:
+        return _("Emergency calls are not supported on this protocol");
     }
 
   return _("There was an error starting the call");



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