Commit | Line | Data |
---|---|---|
ef79bbde P |
1 | /* Pcsx - Pc Psx Emulator |
2 | * Copyright (C) 1999-2002 Pcsx Team | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2 of the License, or | |
7 | * (at your option) any later version. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License | |
15 | * along with this program; if not, write to the Free Software | |
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307 USA | |
17 | */ | |
18 | ||
19 | #include "Linux.h" | |
20 | #include <gtk/gtk.h> | |
21 | ||
22 | #if GTK_MAJOR_VERSION <= 2 && GTK_MINOR_VERSION < 12 | |
23 | #define gtk_about_dialog_set_program_name gtk_about_dialog_set_name | |
24 | #endif | |
25 | ||
26 | #define ABOUT_VERSION "1.9.92" | |
27 | ||
28 | void RunAboutDialog(void) { | |
29 | GtkWidget *AboutDlg; | |
30 | ||
31 | const gchar *authors[] = { | |
32 | "PCSX-Reloaded Team:", | |
33 | "edgbla <edgbla@yandex.ru>", | |
34 | "Wei Mingzhi <whistler_wmz@users.sf.net>", | |
35 | "", | |
36 | "Contributors:", | |
37 | "Dario", | |
38 | "Firnis", | |
39 | "Gabriele Gorla", | |
40 | "Peter Collingbourne", | |
41 | "shalma", | |
42 | "Tristin Celestin", | |
43 | "(See the included AUTHORS file for more details.)", | |
44 | "", | |
45 | "PCSX-df Team:", | |
46 | "Ryan Schultz <schultz.ryan@gmail.com>", | |
47 | "Andrew Burton <adb@iinet.net.au>", | |
48 | "Stephen Chao <stephen@digitalnexus.org>", | |
49 | "Stefan Sikora <hoshy[AT]schrauberstube.de>", | |
50 | "", | |
51 | "PCSX Team:", | |
52 | "Linuzappz <linuzappz@hotmail.com>", | |
53 | "Shadow", | |
54 | "Pete Bernert", | |
55 | "NoComp", | |
56 | "Nik3d", | |
57 | NULL | |
58 | }; | |
59 | ||
60 | const gchar *artists[] = { | |
61 | "Ryan Schultz <schultz.ryan@gmail.com>", | |
62 | "", | |
63 | "Icon Design:", | |
64 | "Romain Lafourcade", | |
65 | NULL | |
66 | }; | |
67 | ||
68 | const gchar *documenters[] = { | |
69 | "Ryan Schultz <schultz.ryan@gmail.com>", | |
70 | NULL | |
71 | }; | |
72 | ||
73 | const gchar *copyright = N_( | |
74 | "(C) 1999-2003 PCSX Team\n" | |
75 | "(C) 2005-2009 PCSX-df Team\n" | |
76 | "(C) 2009-2010 PCSX-Reloaded Team"); | |
77 | ||
78 | const gchar *license = N_( | |
79 | "This program is free software; you can redistribute it and/or modify " | |
80 | "it under the terms of the GNU General Public License as published by " | |
81 | "the Free Software Foundation; either version 2 of the License, or " | |
82 | "(at your option) any later version.\n" | |
83 | "\n" | |
84 | "This program is distributed in the hope that it will be useful, " | |
85 | "but WITHOUT ANY WARRANTY; without even the implied warranty of " | |
86 | "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the " | |
87 | "GNU General Public License for more details.\n" | |
88 | "\n" | |
89 | "You should have received a copy of the GNU General Public License " | |
90 | "along with this program; if not, write to the Free Software " | |
91 | "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307 USA."); | |
92 | ||
93 | AboutDlg = gtk_about_dialog_new(); | |
94 | gtk_about_dialog_set_program_name(GTK_ABOUT_DIALOG(AboutDlg), "PCSX-Reloaded"); | |
95 | gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(AboutDlg), ABOUT_VERSION); | |
96 | gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(AboutDlg), "http://pcsxr.codeplex.com/"); | |
97 | gtk_about_dialog_set_website_label(GTK_ABOUT_DIALOG(AboutDlg), "http://pcsxr.codeplex.com/"); | |
98 | gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(AboutDlg), authors); | |
99 | gtk_about_dialog_set_copyright(GTK_ABOUT_DIALOG(AboutDlg), _(copyright)); | |
100 | gtk_about_dialog_set_documenters(GTK_ABOUT_DIALOG(AboutDlg), documenters); | |
101 | gtk_about_dialog_set_artists(GTK_ABOUT_DIALOG(AboutDlg), artists); | |
102 | gtk_about_dialog_set_translator_credits(GTK_ABOUT_DIALOG(AboutDlg), _("translator-credits")); | |
103 | gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG (AboutDlg), _("A PlayStation emulator.")); | |
104 | gtk_about_dialog_set_license(GTK_ABOUT_DIALOG(AboutDlg), _(license)); | |
105 | gtk_about_dialog_set_wrap_license(GTK_ABOUT_DIALOG(AboutDlg), TRUE); | |
106 | ||
107 | gtk_dialog_run(GTK_DIALOG(AboutDlg)); | |
108 | gtk_widget_destroy(AboutDlg); | |
109 | } |