[empathy] media_stream_error_to_txt: add a msg for TP_MEDIA_STREAM_ERROR_NO_CODECS



commit 6ada60b8764cd0d202fd962e8ed96a6c84037a80
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Nov 6 15:10:06 2009 +0000

    media_stream_error_to_txt: add a msg for TP_MEDIA_STREAM_ERROR_NO_CODECS

 src/empathy-call-window.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 71aa311..d92f1b5 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1564,6 +1564,12 @@ media_stream_error_to_txt (EmpathyCallWindow *self,
               "direct connections."),
           empathy_contact_get_name (priv->contact));
 
+      case TP_MEDIA_STREAM_ERROR_NO_CODECS:
+        if (audio)
+          return g_strdup (_("Your computer doesn't support any audio format"));
+        else
+          return g_strdup (_("Your computer doesn't support any video format"));
+
       /* TODO: support more errors */
       default:
         return NULL;



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