[gnome-online-accounts/gnome-3-8] Split the error message into 2 lines for Exchange & ownCloud
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-8] Split the error message into 2 lines for Exchange & ownCloud
- Date: Mon, 4 Mar 2013 15:16:39 +0000 (UTC)
commit a5b45b0ac811fa86fdaeee2f22ec079c0f4d25bd
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Mar 4 16:15:51 2013 +0100
Split the error message into 2 lines for Exchange & ownCloud
Having the bold and regular parts of the text in 2 separate lines
looks better.
src/goabackend/goaexchangeprovider.c | 4 ++--
src/goabackend/goaowncloudprovider.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/goabackend/goaexchangeprovider.c b/src/goabackend/goaexchangeprovider.c
index 8c9dd2f..e2a9213 100644
--- a/src/goabackend/goaexchangeprovider.c
+++ b/src/goabackend/goaexchangeprovider.c
@@ -716,7 +716,7 @@ add_account (GoaProvider *provider,
accept_ssl_errors = FALSE;
}
- markup = g_strdup_printf ("<b>%s:</b> %s",
+ markup = g_strdup_printf ("<b>%s:</b>\n%s",
_("Error connecting to Microsoft Exchange server"),
data.error->message);
g_clear_error (&data.error);
@@ -890,7 +890,7 @@ refresh_account (GoaProvider *provider,
{
gchar *markup;
- markup = g_strdup_printf ("<b>%s:</b> %s",
+ markup = g_strdup_printf ("<b>%s:</b>\n%s",
_("Error connecting to Microsoft Exchange server"),
data.error->message);
g_clear_error (&data.error);
diff --git a/src/goabackend/goaowncloudprovider.c b/src/goabackend/goaowncloudprovider.c
index 3bb710b..f23c14a 100644
--- a/src/goabackend/goaowncloudprovider.c
+++ b/src/goabackend/goaowncloudprovider.c
@@ -811,7 +811,7 @@ add_account (GoaProvider *provider,
accept_ssl_errors = FALSE;
}
- markup = g_strdup_printf ("<b>%s:</b> %s",
+ markup = g_strdup_printf ("<b>%s:</b>\n%s",
_("Error connecting to ownCloud server"),
data.error->message);
g_clear_error (&data.error);
@@ -991,7 +991,7 @@ refresh_account (GoaProvider *provider,
{
gchar *markup;
- markup = g_strdup_printf ("<b>%s:</b> %s",
+ markup = g_strdup_printf ("<b>%s:</b>\n%s",
_("Error connecting to ownCloud server"),
data.error->message);
g_clear_error (&data.error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]