diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-13 20:04:50 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-16 19:58:25 +0800 |
commit | 9bfe3cdd27190113f8da56cf718c3af7ff9da5d9 (patch) | |
tree | 837065cdec420c3b03c7c9e0c7c001ea230cae31 /src/empathy-call-window.c | |
parent | ff55f4aeee822b9533668ecdee722b4e5f6f2d89 (diff) | |
download | gsoc2013-empathy-9bfe3cdd27190113f8da56cf718c3af7ff9da5d9.tar gsoc2013-empathy-9bfe3cdd27190113f8da56cf718c3af7ff9da5d9.tar.gz gsoc2013-empathy-9bfe3cdd27190113f8da56cf718c3af7ff9da5d9.tar.bz2 gsoc2013-empathy-9bfe3cdd27190113f8da56cf718c3af7ff9da5d9.tar.lz gsoc2013-empathy-9bfe3cdd27190113f8da56cf718c3af7ff9da5d9.tar.xz gsoc2013-empathy-9bfe3cdd27190113f8da56cf718c3af7ff9da5d9.tar.zst gsoc2013-empathy-9bfe3cdd27190113f8da56cf718c3af7ff9da5d9.zip |
media_stream_error_to_txt: display a link to the fdo bugzilla
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r-- | src/empathy-call-window.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 6c8a7ccaf..07cad91f6 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1545,6 +1545,8 @@ media_stream_error_to_txt (EmpathyCallWindow *self, { EmpathyCallWindowPriv *priv = GET_PRIV (self); const gchar *cm; + gchar *url; + gchar *result; switch (error) { @@ -1580,10 +1582,17 @@ media_stream_error_to_txt (EmpathyCallWindow *self, case TP_MEDIA_STREAM_ERROR_INVALID_CM_BEHAVIOR: cm = empathy_tp_call_get_connection_manager (call); - return g_strdup_printf (_("Something not expected happened in a " - "Telepathy component (%s). " - "Please report this bug and attach logs gathered " - "from the 'Debug' window in the Help menu."), cm); + + url = g_strdup_printf ("http://bugs.freedesktop.org/enter_bug.cgi?" + "product=Telepathy&component=%s", cm); + + result = g_strdup_printf ( + _("Something not expected happened in a Telepathy component. " + "Please <a href=\"%s\">report this bug</a> and attach " + "logs gathered from the 'Debug' window in the Help menu."), url); + + g_free (url); + return result; case TP_MEDIA_STREAM_ERROR_MEDIA_ERROR: return g_strdup (_("There was a failure in the call engine")); |