diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-05 22:58:05 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-06 18:53:10 +0800 |
commit | 7a89f0e836e77d50b63cbf7aee35b1f3dc0a3e34 (patch) | |
tree | eeec786635a594d6beb2025390a9fd9e77634770 /src | |
parent | 1b75b0f65fad1a388a59d4562c3700b7ac1ebc98 (diff) | |
download | gsoc2013-empathy-7a89f0e836e77d50b63cbf7aee35b1f3dc0a3e34.tar gsoc2013-empathy-7a89f0e836e77d50b63cbf7aee35b1f3dc0a3e34.tar.gz gsoc2013-empathy-7a89f0e836e77d50b63cbf7aee35b1f3dc0a3e34.tar.bz2 gsoc2013-empathy-7a89f0e836e77d50b63cbf7aee35b1f3dc0a3e34.tar.lz gsoc2013-empathy-7a89f0e836e77d50b63cbf7aee35b1f3dc0a3e34.tar.xz gsoc2013-empathy-7a89f0e836e77d50b63cbf7aee35b1f3dc0a3e34.tar.zst gsoc2013-empathy-7a89f0e836e77d50b63cbf7aee35b1f3dc0a3e34.zip |
empathy-call-window: add a friendly message for TP_MEDIA_STREAM_ERROR_CONNECTION_FAILED (#575763)
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-call-window.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index df1ed5159..e0f8d8551 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1544,6 +1544,13 @@ media_stream_error_to_txt (EmpathyCallWindow *self, _("You don't have any codecs in common with %s."), empathy_contact_get_name (priv->contact)); + case TP_MEDIA_STREAM_ERROR_CONNECTION_FAILED: + return g_strdup_printf ( + _("Can't establish a connection to %s. " + "One of you might be on a network that does not allow " + "direct connections."), + empathy_contact_get_name (priv->contact)); + /* TODO: support more errors */ default: return NULL; |