[empathy] media_stream_error_to_txt: display a link to the fdo bugzilla
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] media_stream_error_to_txt: display a link to the fdo bugzilla
- Date: Mon, 16 Nov 2009 11:59:13 +0000 (UTC)
commit 9bfe3cdd27190113f8da56cf718c3af7ff9da5d9
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Nov 13 12:04:50 2009 +0000
media_stream_error_to_txt: display a link to the fdo bugzilla
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 6c8a7cc..07cad91 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"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]