[empathy/gnome-2-34] Check for TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED when a call fails



commit 4dec7a70c17c13a8f731972bca83ed6903746c95
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 461a7df..b362eca 100644
--- a/libempathy-gtk/empathy-call-utils.c
+++ b/libempathy-gtk/empathy-call-utils.c
@@ -49,6 +49,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]