diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2010-08-12 13:15:20 +0300 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2010-08-12 14:23:58 +0300 |
commit | e4a83370c4026d6cd1a1912eb2febe288c974d2b (patch) | |
tree | 316eb9d6087cf8a7fe3ace67323b9313f07452db /gtk/gtkaboutdialog.c | |
parent | cd00b0a490330d43cc0c9950cd590cac38a06be9 (diff) | |
download | gtk+-e4a83370c4026d6cd1a1912eb2febe288c974d2b.tar.gz |
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
Diffstat (limited to 'gtk/gtkaboutdialog.c')
-rw-r--r-- | gtk/gtkaboutdialog.c | 10 |
1 files 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: * - * <program-name> <copyright>\n + * <program-name>\n + * <copyright line 1>\n + * ... + * <copyright line 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); |