]> git.0d.be Git - empathy.git/commitdiff
Check for TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED when a call fails
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Thu, 10 Mar 2011 15:12:15 +0000 (15:12 +0000)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Thu, 9 Jun 2011 09:20:05 +0000 (10:20 +0100)
libempathy-gtk/empathy-call-utils.c

index 2c7d6d18b3369b782587cde29e311a4378304ae6..425cda5d768ecb5b728641d1cfd56fece1879cd6 100644 (file)
@@ -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");