]> git.0d.be Git - empathy.git/commitdiff
media_stream_error_to_txt: add a msg for TP_MEDIA_STREAM_ERROR_NETWORK_ERROR
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 6 Nov 2009 15:35:24 +0000 (15:35 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 16 Nov 2009 11:58:25 +0000 (11:58 +0000)
src/empathy-call-window.c

index f067ff9aa4756e3eaad6060ea03b6b7f004c8824..ffea4f02499bbb0333b213a249c271aa745e0299 100644 (file)
@@ -1564,6 +1564,9 @@ media_stream_error_to_txt (EmpathyCallWindow *self,
               "direct connections."),
           empathy_contact_get_name (priv->contact));
 
+      case TP_MEDIA_STREAM_ERROR_NETWORK_ERROR:
+          return g_strdup (_("There was a failure on the network"));
+
       case TP_MEDIA_STREAM_ERROR_NO_CODECS:
         if (audio)
           return g_strdup (_("Your computer doesn't support any audio format"));
@@ -1578,7 +1581,6 @@ media_stream_error_to_txt (EmpathyCallWindow *self,
       case TP_MEDIA_STREAM_ERROR_MEDIA_ERROR:
         return g_strdup (_("There was a failure in the call engine"));
 
-      /* TODO: support more errors */
       default:
         return NULL;
     }