[empathy] media_stream_error_to_txt: add a msg for TP_MEDIA_STREAM_ERROR_NETWORK_ERROR



commit a13ed429f988ec7ce1e473e8975fa65447cae309
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Nov 6 15:35:24 2009 +0000

    media_stream_error_to_txt: add a msg for TP_MEDIA_STREAM_ERROR_NETWORK_ERROR

 src/empathy-call-window.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index f067ff9..ffea4f0 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -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;
     }



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