/////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2015 by Simon Schneegans
//
// This program 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, 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 .
/////////////////////////////////////////////////////////////////////////
namespace GnomePie {
/////////////////////////////////////////////////////////////////////////
/// A simple about dialog.
/////////////////////////////////////////////////////////////////////////
public class AboutWindow: Gtk.AboutDialog {
/////////////////////////////////////////////////////////////////////
/// C'tor, creates a new about dialog. The entries are sorted alpha-
/// betically.
/////////////////////////////////////////////////////////////////////
public AboutWindow () {
string[] devs = {
"Simon Schneegans ",
"Gabriel Dubatti ",
"Francesco Piccinno ",
"György Balló "
};
string[] artists = {
"Simon Schneegans "
};
string[] translators = {
"Simon Schneegans (DE, EN)",
"Riccardo Traverso (IT)",
"Magnun Leno (PT-BR)",
"Kim Boram (KO)",
"Eduardo Anabalon (ES)",
"Gabriel Dubatti (ES)",
"Grégoire Bellon-Gervais (FR)",
"Alex Maxime (FR)",
"Eugene Roskin (RU)",
"Ting Zhou (ZH-CN)",
"Martin Dinov (BG)"
};
// sort translators
GLib.List translator_list = new GLib.List();
foreach (var translator in translators)
translator_list.append(translator);
translator_list.sort((a, b) => {
return a.ascii_casecmp(b);
});
string translator_string = "";
foreach (var translator in translator_list)
translator_string += translator + "\n";
GLib.Object (
artists : artists,
authors : devs,
translator_credits : translator_string,
copyright : "Copyright (C) 2011-2015 Simon Schneegans ",
program_name: "Gnome-Pie",
logo_icon_name: "gnome-pie",
website: "http://simmesimme.github.io/gnome-pie.html",
website_label: "Homepage",
version: Deamon.version
);
}
}
}