summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-20 08:48:59 +0100
committerraveit65 <[email protected]>2019-03-22 23:28:08 +0100
commit41afb7d426c0325ed4a7dd5909be144b16555674 (patch)
tree3c9f12f0feec431eb8a8f6f3180460f4d0fdae81
parent8a5bba56530b82f76fb37a7a533b1d09fedbbd9c (diff)
downloadatril-41afb7d426c0325ed4a7dd5909be144b16555674.tar.bz2
atril-41afb7d426c0325ed4a7dd5909be144b16555674.tar.xz
Use g_strjoin to build license text in about dialog
-rw-r--r--shell/ev-window.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 828cc9e9..4ab4429c 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -5314,14 +5314,14 @@ ev_window_cmd_help_about (GtkAction *action, EvWindow *ev_window)
N_("Atril is free software; you can redistribute it and/or modify "
"it under the terms of the GNU General Public License as published by "
"the Free Software Foundation; either version 2 of the License, or "
- "(at your option) any later version.\n"),
+ "(at your option) any later version."),
N_("Atril is distributed in the hope that it will be useful, "
"but WITHOUT ANY WARRANTY; without even the implied warranty of "
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
- "GNU General Public License for more details.\n"),
+ "GNU General Public License for more details."),
N_("You should have received a copy of the GNU General Public License "
"along with Atril; if not, write to the Free Software Foundation, Inc., "
- "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n")
+ "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA")
};
char *license_trans, *comments;
@@ -5356,8 +5356,7 @@ ev_window_cmd_help_about (GtkAction *action, EvWindow *ev_window)
*p = _(*p);
#endif
- license_trans = g_strconcat (_(license[0]), "\n", _(license[1]), "\n",
- _(license[2]), "\n", NULL);
+ license_trans = g_strjoin ("\n\n", _(license[0]), _(license[1]), _(license[2]), NULL);
comments = build_comments_string (ev_window->priv->document);