From e4a83370c4026d6cd1a1912eb2febe288c974d2b Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Thu, 12 Aug 2010 13:15:20 +0300 Subject: [PATCH] Improve the looks of the license text in GtkAboutDialog It is not safe to assume that copyright text in applications is one liner, therefore it's better to split it from the program name. Also, the license text should be in a paragraph of its own, so add an extra '\n' above it. https://bugzilla.gnome.org/show_bug.cgi?id=626514 --- gtk/gtkaboutdialog.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index b16ed8c82d..acf1aff93a 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -2551,15 +2551,19 @@ gtk_about_dialog_set_license_type (GtkAboutDialog *about, /* compose the new license string as: * - * \n + * \n + * \n + * ... + * \n + * \n * license preamble + URL * */ str = g_string_sized_new (256); g_string_append (str, priv->name); - g_string_append (str, " "); - g_string_append (str, priv->copyright); g_string_append (str, "\n"); + g_string_append (str, priv->copyright); + g_string_append (str, "\n\n"); g_string_append_printf (str, gettext (gtk_license_preamble), url); g_free (priv->license);