aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-06 23:35:24 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-16 19:58:25 +0800
commita13ed429f988ec7ce1e473e8975fa65447cae309 (patch)
tree752db06f7e2741ade40636a3e9176e2e3c17e78b /src/empathy-call-window.c
parentf9674144fc2cb0a672cf3aa697eaea956d6a0e4f (diff)
downloadgsoc2013-empathy-a13ed429f988ec7ce1e473e8975fa65447cae309.tar
gsoc2013-empathy-a13ed429f988ec7ce1e473e8975fa65447cae309.tar.gz
gsoc2013-empathy-a13ed429f988ec7ce1e473e8975fa65447cae309.tar.bz2
gsoc2013-empathy-a13ed429f988ec7ce1e473e8975fa65447cae309.tar.lz
gsoc2013-empathy-a13ed429f988ec7ce1e473e8975fa65447cae309.tar.xz
gsoc2013-empathy-a13ed429f988ec7ce1e473e8975fa65447cae309.tar.zst
gsoc2013-empathy-a13ed429f988ec7ce1e473e8975fa65447cae309.zip
media_stream_error_to_txt: add a msg for TP_MEDIA_STREAM_ERROR_NETWORK_ERROR
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index f067ff9aa..ffea4f024 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;
}