print-editor: Icon credits

Give the artist credits.
This commit is contained in:
Matthias Clasen 2020-08-09 20:30:00 -04:00
parent 6e9de7f271
commit 8cbca4f693

View File

@ -604,6 +604,10 @@ activate_about (GSimpleAction *action,
"Alexander Larsson", "Alexander Larsson",
NULL NULL
}; };
const char *artists[] = {
"Jakub Steiner",
NULL
};
const char *maintainers[] = { const char *maintainers[] = {
"The GTK Team", "The GTK Team",
NULL NULL
@ -656,6 +660,8 @@ activate_about (GSimpleAction *action,
"title", "About GTK Print Editor", "title", "About GTK Print Editor",
"system-information", sysinfo->str, "system-information", sysinfo->str,
NULL); NULL);
gtk_about_dialog_add_credit_section (GTK_ABOUT_DIALOG (dialog),
_("Artwork by"), artists);
gtk_about_dialog_add_credit_section (GTK_ABOUT_DIALOG (dialog), gtk_about_dialog_add_credit_section (GTK_ABOUT_DIALOG (dialog),
_("Maintained by"), maintainers); _("Maintained by"), maintainers);
@ -663,6 +669,8 @@ activate_about (GSimpleAction *action,
g_string_free (sysinfo, TRUE); g_string_free (sysinfo, TRUE);
g_free (version); g_free (version);
g_free (os_name);
g_free (os_version);
} }
static void static void