From 9be16f5be776b52b54f6fc9b4f8bccb167177162 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Thu, 10 Mar 2011 15:12:15 +0000 Subject: Check for TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED when a call fails --- libempathy-gtk/empathy-call-utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-call-utils.c b/libempathy-gtk/empathy-call-utils.c index 2c7d6d18b..425cda5d7 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"); -- cgit v1.2.3