~ubuntu-branches/ubuntu/precise/gnome-games/precise-updates

« back to all changes in this revision

Viewing changes to swell-foop/src/About.js

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-03-19 20:46:10 UTC
  • mfrom: (1.1.105)
  • Revision ID: package-import@ubuntu.com-20120319204610-2nd2xqq39j8y7t5q
Tags: 1:3.3.92-0ubuntu1
* New upstream release.
  - Swell Foop ported to Vala, no longer in staging
    (LP: #939200, LP: #939210)
* debian/patches/git_fix-iagno-ai.patch: Dropped, upstream
* debian/control.in:
  - Drop no longer needed swell-foop dependencies
* debian/rules:
  - Don't install staging games
* debian/swell-foop.install:
  - Don't install gir files any more; they're not needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Gtk = imports.gi.Gtk;
2
 
GnomeGamesSupport = imports.gi.GnomeGamesSupport;
3
 
 
4
 
main = imports.main;
5
 
 
6
 
_ = imports.gettext.gettext;
7
 
 
8
 
function show_about_dialog()
9
 
{
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");
21
 
 
22
 
        about_dialog.set_authors(["Tim Horton"]);
23
 
        about_dialog.set_artists(["Tim Horton"]);
24
 
 
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
27
 
 
28
 
        about_dialog.set_transient_for(main.window);
29
 
        about_dialog.run();
30
 
        
31
 
        about_dialog.hide();
32
 
}