[evolution] CollectionAccountWizard: Show 'View certificate' link on its own line
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] CollectionAccountWizard: Show 'View certificate' link on its own line
- Date: Fri, 20 Sep 2019 09:33:16 +0000 (UTC)
commit 42509a1e456aaf3b8fd1a8ce8002a47c9968695b
Author: Milan Crha <mcrha redhat com>
Date: Fri Sep 20 11:30:58 2019 +0200
CollectionAccountWizard: Show 'View certificate' link on its own line
When the original certificate error text is long, it can go beyond
the window width, which makes the text ellipsized, eventually hiding
the link, which then looks like there's no action to be taken. Having
the link on its own line will make it always shown.
src/e-util/e-collection-account-wizard.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/e-util/e-collection-account-wizard.c b/src/e-util/e-collection-account-wizard.c
index c96ff8fbb6..158198d9b5 100644
--- a/src/e-util/e-collection-account-wizard.c
+++ b/src/e-util/e-collection-account-wizard.c
@@ -508,9 +508,8 @@ collection_account_wizard_worker_finished_cb (EConfigLookup *config_lookup,
link = g_markup_printf_escaped ("<a href=\"evo:view-certificate\">%s</a>", _("View
certificate"));
- /* Translators: The first %s is replaced with actual error message about site certificate
invalidity,
- like "The signing certificate authority is not known.", the second %s is replaced with a
link "View certificate". */
- markup = g_strdup_printf (C_("collection-account-wizard", "%s %s."), error->message, link);
+ markup = g_strconcat (error->message ? error->message : "",
+ error->message ? "\n" : "", link, NULL);
gtk_label_set_markup (GTK_LABEL (wd->running_label), markup);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]