aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-06 23:10:06 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-16 19:58:25 +0800
commit6ada60b8764cd0d202fd962e8ed96a6c84037a80 (patch)
tree3d4a392c0f30e4e1f7c96940669cb56dff76547c
parent5bbac6517b4b111ca377922d3a1ddee6e895f016 (diff)
downloadgsoc2013-empathy-6ada60b8764cd0d202fd962e8ed96a6c84037a80.tar
gsoc2013-empathy-6ada60b8764cd0d202fd962e8ed96a6c84037a80.tar.gz
gsoc2013-empathy-6ada60b8764cd0d202fd962e8ed96a6c84037a80.tar.bz2
gsoc2013-empathy-6ada60b8764cd0d202fd962e8ed96a6c84037a80.tar.lz
gsoc2013-empathy-6ada60b8764cd0d202fd962e8ed96a6c84037a80.tar.xz
gsoc2013-empathy-6ada60b8764cd0d202fd962e8ed96a6c84037a80.tar.zst
gsoc2013-empathy-6ada60b8764cd0d202fd962e8ed96a6c84037a80.zip
media_stream_error_to_txt: add a msg for TP_MEDIA_STREAM_ERROR_NO_CODECS
-rw-r--r--src/empathy-call-window.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 71aa31113..d92f1b577 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;