From 10a809319e3ffe171986cf398a182845007e38ce Mon Sep 17 00:00:00 2001 From: Alexander Kojevnikov Date: Sat, 8 May 2010 19:46:26 +1000 Subject: [PATCH] Add license to the about dialogue --- src/spek-source.vala | 6 +++--- src/spek-spectrogram.vala | 6 +++--- src/spek-window.vala | 34 +++++++++++++++++++++++++--------- src/spek.vala | 6 +++--- 4 files changed, 34 insertions(+), 18 deletions(-) diff --git a/src/spek-source.vala b/src/spek-source.vala index a360a3d..e2f95de 100644 --- a/src/spek-source.vala +++ b/src/spek-source.vala @@ -2,18 +2,18 @@ * * Copyright (C) 2010 Alexander Kojevnikov * - * This program is free software: you can redistribute it and/or modify + * Spek 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 3 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * Spek 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. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with Spek. If not, see . */ using Gst; diff --git a/src/spek-spectrogram.vala b/src/spek-spectrogram.vala index b8441f5..fa42abd 100644 --- a/src/spek-spectrogram.vala +++ b/src/spek-spectrogram.vala @@ -2,18 +2,18 @@ * * Copyright (C) 2010 Alexander Kojevnikov * - * This program is free software: you can redistribute it and/or modify + * Spek 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 3 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * Spek 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. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with Spek. If not, see . */ using Cairo; diff --git a/src/spek-window.vala b/src/spek-window.vala index 74ec8e5..30d781b 100644 --- a/src/spek-window.vala +++ b/src/spek-window.vala @@ -2,18 +2,18 @@ * * Copyright (C) 2010 Alexander Kojevnikov * - * This program is free software: you can redistribute it and/or modify + * Spek 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 3 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * Spek 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. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with Spek. If not, see . */ using Gdk; @@ -88,20 +88,36 @@ namespace Spek { string[] authors = { "Alexander Kojevnikov " }; + string[] artists = { + "Olga Vasylevska" + }; + string license = "Copyright (C) 2010 Alexander Kojevnikov"; + license += "\n\n"; + license += "Spek is free software: you can redistribute it and/or modify "; + license += "it under the terms of the GNU General Public License as published by "; + license += "the Free Software Foundation, either version 3 of the License, or "; + license += "(at your option) any later version."; + license += "\n\n"; + license += "Spek is distributed in the hope that it will be useful, "; + license += "but WITHOUT ANY WARRANTY; without even the implied warranty of "; + license += "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "; + license += "GNU General Public License for more details."; + license += "\n\n"; + license += "You should have received a copy of the GNU General Public License "; + license += "along with Spek. If not, see ."; show_about_dialog ( this, "program-name", "Spek", "version", Config.PACKAGE_VERSION, - "copyright", _("Copyright © 2010 Alexander Kojevnikov"), + "copyright", _("Copyright \xc2\xa9 2010 Alexander Kojevnikov"), "comments", this.title, "authors", authors, - // TODO // "documenters", documenters, -// "artists", artists, -// "website-label", _("Spek Website"), -// "website", "http://TODO", -// "license", "GPLv3+", + "artists", artists, + "website-label", _("Spek Website"), + "website", "http://spek-project.org/", + "license", license, "wrap-license", true, "logo-icon-name", "spek", "translator-credits", _("translator-credits")); diff --git a/src/spek.vala b/src/spek.vala index 0834b61..8d1c4b0 100644 --- a/src/spek.vala +++ b/src/spek.vala @@ -2,18 +2,18 @@ * * Copyright (C) 2010 Alexander Kojevnikov * - * This program is free software: you can redistribute it and/or modify + * Spek 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 3 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * Spek 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. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with Spek. If not, see . */ using Spek;