2
GnomeGamesSupport = imports.gi.GnomeGamesSupport;
6
_ = imports.gettext.gettext;
8
function show_about_dialog()
10
var about_dialog = new Gtk.AboutDialog();
11
about_dialog.program_name = _("Swell Foop");
12
about_dialog.version = "1.0";
13
about_dialog.comments = _("I want to play that game! You know, they all light-up and you click on them and they vanish!\n\nSwell Foop is a part of GNOME Games.");
14
about_dialog.copyright = _("Copyright \xa9 2009 Tim Horton");
15
about_dialog.license = GnomeGamesSupport.get_license(_("Swell Foop"));
16
about_dialog.wrap_license = true;
17
about_dialog.logo_icon_name = "swell-foop";
18
about_dialog.website = "http://www.gnome.org/projects/gnome-games/";
19
about_dialog.website_label = _("GNOME Games web site"); // this doesn't work for anyone
20
about_dialog.translator_credits = _("translator-credits");
22
about_dialog.set_authors(["Tim Horton"]);
23
about_dialog.set_artists(["Tim Horton"]);
25
// TODO: some form of wrapper so we can use gtk_show_about_dialog instead
26
// of faking all of its window-management-related stuff
28
about_dialog.set_transient_for(main.window);