annotate audacious/credits.c @ 2025:73471758fc71 trunk

[svn] - make sure the mainwin is redrawn correctly when doublesized. reported by Tom St. Denis, closes #674.
author nenolod
date Wed, 29 Nov 2006 19:49:30 -0800
parents 4e04063678cc
children ed1d3dde7130
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
500
5c76d862ed49 [svn] Add show_credits_window() declaration.
nenolod
parents: 471
diff changeset
1 /* Audacious - Cross-platform multimedia player
5c76d862ed49 [svn] Add show_credits_window() declaration.
nenolod
parents: 471
diff changeset
2 * Copyright (C) 2005-2006 Audacious Team
5c76d862ed49 [svn] Add show_credits_window() declaration.
nenolod
parents: 471
diff changeset
3 *
5c76d862ed49 [svn] Add show_credits_window() declaration.
nenolod
parents: 471
diff changeset
4 * XMMS - Cross-platform multimedia player
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
5 * Copyright (C) 1998-2003 Peter Alm, Mikael Alm, Olle Hallnas,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
6 * Thomas Nilsson and 4Front Technologies
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7 * Copyright (C) 2000-2003 Haavard Kvaalen
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
8 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
9 * This program is free software; you can redistribute it and/or modify
1460
411b4aaf928b [svn] fine
nemo
parents: 1459
diff changeset
10 * it under the terms of the GNU General Public License as published by
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 * the Free Software Foundation; either version 2 of the License, or
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 * (at your option) any later version.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14 * This program is distributed in the hope that it will be useful,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17 * GNU General Public License for more details.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
18 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19 * You should have received a copy of the GNU General Public License
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20 * along with this program; if not, write to the Free Software
1459
705d4c089fce [svn] Fix postal code.
chainsaw
parents: 1458
diff changeset
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22 */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
23
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24 #ifdef HAVE_CONFIG_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
25 # include "config.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
27
471
a4ec7dfe5672 [svn] Rename about.c to credits.c
nenolod
parents: 399
diff changeset
28 #include "credits.h"
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
29
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
30 #include <glib.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
31 #include <glib/gi18n.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
32 #include <gtk/gtk.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
33
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
34 #include "audacious_logo.xpm"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
35
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
36
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
37 enum {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
38 COL_LEFT,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
39 COL_RIGHT,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
40 N_COLS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
41 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
42
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
43
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
44 static const gchar *bmp_brief =
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
45 N_("<big><b>Audacious %s</b></big>\n"
360
222a0d71cbcf [svn] - change our slogan to "The future of UNIX multimedia."
nenolod
parents: 232
diff changeset
46 "The future of UNIX multimedia.\n"
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
47 "\n"
360
222a0d71cbcf [svn] - change our slogan to "The future of UNIX multimedia."
nenolod
parents: 232
diff changeset
48 "Copyright (C) 2005-2006 Audacious Development Team\n");
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
49
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
50 static const gchar *credit_text[] = {
501
3a940b8dac46 [svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents: 500
diff changeset
51 N_("Audacious core developers:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
52 "George Averill",
2022
4e04063678cc [svn] - add le_vert to credits (he will need to accent his letters, though)
nenolod
parents: 2021
diff changeset
53 "Adam Cecile",
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
54 "Giacomo Lozito",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
55 "William Pitcock",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
56 "Derek Pomery",
1802
687b63f7b18d [svn] Just saw that it's ordered by last name. Of cours, I was to blind
js
parents: 1801
diff changeset
57 "Jonathan Schleifer",
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
58 "Tony Vroon",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
59 "Yoshiki Yazawa",
501
3a940b8dac46 [svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents: 500
diff changeset
60 NULL,
3a940b8dac46 [svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents: 500
diff changeset
61
3a940b8dac46 [svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents: 500
diff changeset
62 N_("Graphics:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
63 "George Averill",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
64 "Stephan Sokolow",
503
1cc9edf68ce9 [svn] Remove crap that is unneeded from about.c, update credits information.
nenolod
parents: 501
diff changeset
65 NULL,
1cc9edf68ce9 [svn] Remove crap that is unneeded from about.c, update credits information.
nenolod
parents: 501
diff changeset
66
1cc9edf68ce9 [svn] Remove crap that is unneeded from about.c, update credits information.
nenolod
parents: 501
diff changeset
67 N_("Default skin:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
68 "George Averill",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
69 "William Pitcock",
501
3a940b8dac46 [svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents: 500
diff changeset
70 NULL,
3a940b8dac46 [svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents: 500
diff changeset
71
3a940b8dac46 [svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents: 500
diff changeset
72 N_("Plugin development:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
73 "Kiyoshi Aman",
1660
4c72daee66e3 [svn] rtsp support in mp3
lu_zero
parents: 1460
diff changeset
74 "Luca Barbato",
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
75 "Shay Green",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
76 "Giacomo Lozito",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
77 "William Pitcock",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
78 "Derek Pomery",
1802
687b63f7b18d [svn] Just saw that it's ordered by last name. Of cours, I was to blind
js
parents: 1801
diff changeset
79 "Jonathan Schleifer",
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
80 "Tony Vroon",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
81 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
82
1893
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
83 N_("Patch authors:"),
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
84 "Laszlo Dvornik",
2021
ea97052f6b3e [svn] - credit patch contributions from Ralf Ertzinger
nenolod
parents: 2020
diff changeset
85 "Ralf Ertzinger",
1893
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
86 "Mike Frysinger",
2020
d624b7efb96c [svn] Credit patch contribution by Chris Kehler.
chainsaw
parents: 2009
diff changeset
87 "Chris Kehler",
1893
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
88 "Michael Hanselmann",
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
89 "Henrik Johansson",
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
90 "Rodrigo Martins de Matos Ventura",
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
91 "Diego Pettenò",
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
92 "Kazuki Shimura",
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
93 "Valentine Sinitsyn",
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
94 "Johan Tavelin",
1925
8b486a93674f [svn] - add plasmaroo to patch authors (oops)
nenolod
parents: 1893
diff changeset
95 "Tim Yamin",
1893
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
96 NULL,
1830d09e33bf [svn] - integrate A-B patch, with a few changes:
nenolod
parents: 1802
diff changeset
97
360
222a0d71cbcf [svn] - change our slogan to "The future of UNIX multimedia."
nenolod
parents: 232
diff changeset
98 N_("0.1.x developers:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
99 "William Pitcock",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
100 "Mohammed Sameer",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
101 "Tony Vroon",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
102 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
103
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
104 N_("BMP Developers:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
105 "Artem Baguinski",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
106 "Edward Brocklesby",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
107 "Chong Kai Xiong",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
108 "Milosz Derezynski",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
109 "David Lau",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
110 "Ole Andre Vadla Ravnaas",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
111 "Michiel Sikkes",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
112 "Andrei Badea",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
113 "Peter Behroozi",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
114 "Bernard Blackham",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
115 "Oliver Blin",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
116 "Tomas Bzatek",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
117 "Liviu Danicel",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
118 "Jon Dowland",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
119 "Artur Frysiak",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
120 "Sebastian Kapfer",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
121 "Lukas Koberstein",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
122 "Dan Korostelev",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
123 "Jolan Luff",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
124 "Michael Marineau",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
125 "Tim-Philipp Muller",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
126 "Julien Portalier",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
127 "Andrew Ruder",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
128 "Olivier Samyn",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
129 "Martijn Vernooij",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
130 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
131
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
132 NULL
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
133 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
134
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
135 static const gchar *translators[] = {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
136 N_("Brazilian Portuguese:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
137 "Philipi Pinto",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
138 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
139 N_("Breton:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
140 "Thierry Vignaud",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
141 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
142 N_("Chinese:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
143 "Chong Kai Xiong",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
144 "Chao-Hsiung Liao",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
145 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
146 N_("Czech:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
147 "Jan Narovec",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
148 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
149 N_("Dutch:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
150 "Laurens Buhler",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
151 "Tony Vroon",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
152 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
153 N_("Finnish:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
154 "Pauli Virtanen",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
155 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
156 N_("French:"),
2022
4e04063678cc [svn] - add le_vert to credits (he will need to accent his letters, though)
nenolod
parents: 2021
diff changeset
157 "Adam Cecile",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
158 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
159 N_("German:"),
1334
fe42b588cb53 [svn] Update translation credits for German (hansmi) & Polish (vojcek).
chainsaw
parents: 1132
diff changeset
160 "Michael Hanselmann",
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
161 "Matthias Debus",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
162 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
163 N_("Georgian: "),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
164 "George Machitidze",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
165 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
166 N_("Greek:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
167 "Kouzinopoulos Haris",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
168 "Stavros Giannouris",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
169 "Stathis Kamperis",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
170 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
171 N_("Hindi:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
172 "Dhananjaya Sharma",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
173 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
174 N_("Hungarian:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
175 "Laszlo Dvornik",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
176 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
177 N_("Italian:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
178 "Alessio D'Ascanio",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
179 "Diego Pettenò",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
180 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
181 N_("Japanese:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
182 "Dai",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
183 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
184 N_("Korean:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
185 "DongCheon Park",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
186 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
187 N_("Lithuanian:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
188 "Rimas Kudelis",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
189 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
190 N_("Macedonian:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
191 "Arangel Angov",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
192 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
193 N_("Polish:"),
1334
fe42b588cb53 [svn] Update translation credits for German (hansmi) & Polish (vojcek).
chainsaw
parents: 1132
diff changeset
194 "Wojciech Myrda"
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
195 "Jacek Wolszczak",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
196 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
197 N_("Romanian:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
198 "Liviu Danicel",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
199 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
200 N_("Russian:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
201 "Pavlo Bohmat",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
202 "Dan Korostelev",
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
203 "Vitaly Lipatov",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
204 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
205 N_("Slovak:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
206 "Pavel Kanzelsberger",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
207 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
208 N_("Spanish:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
209 "Gustavo D. Vranjes",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
210 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
211 N_("Swedish:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
212 "Martin Persenius",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
213 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
214 N_("Ukrainian:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
215 "Mykola Lynnyk",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
216 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
217 N_("Welsh:"),
1132
d63b74dd62a3 [svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents: 1108
diff changeset
218 "Edward Brocklesby",
2009
8121e0180670 [svn] - update credit for welsh translation
nenolod
parents: 1925
diff changeset
219 "William Pitcock",
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
220 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
221
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
222 NULL
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
223 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
224
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
225
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
226 static GtkWidget *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
227 generate_credit_list(const gchar * text[], gboolean sec_space)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
228 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
229 GtkWidget *scrollwin;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
230 GtkWidget *treeview;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
231 GtkListStore *list_store;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
232 GtkTreeIter iter;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
233 GtkTreeViewColumn *column;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
234 GtkCellRenderer *renderer;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
235 const gchar *const *item;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
236
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
237 list_store = gtk_list_store_new(N_COLS, G_TYPE_STRING, G_TYPE_STRING);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
238
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
239 item = text;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
240
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
241 while (*item) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
242 gtk_list_store_append(list_store, &iter);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
243 gtk_list_store_set(list_store, &iter,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
244 COL_LEFT, _(item[0]), COL_RIGHT, _(item[1]), -1);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
245 item += 2;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
246
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
247 while (*item) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
248 gtk_list_store_append(list_store, &iter);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
249 gtk_list_store_set(list_store, &iter,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
250 COL_LEFT, "", COL_RIGHT, _(*item++), -1);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
251 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
252
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
253 ++item;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
254
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
255 if (*item && sec_space) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
256 gtk_list_store_append(list_store, &iter);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
257 gtk_list_store_set(list_store, &iter,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
258 COL_LEFT, "", COL_RIGHT, "", -1);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
259 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
260 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
261
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
262 treeview = gtk_tree_view_new_with_model(GTK_TREE_MODEL(list_store));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
263 gtk_tree_view_set_headers_clickable(GTK_TREE_VIEW(treeview), FALSE);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
264 gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treeview), FALSE);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
265 gtk_tree_selection_set_mode(gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview)),
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
266 GTK_SELECTION_NONE);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
267
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
268 renderer = gtk_cell_renderer_text_new();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
269 g_object_set(renderer, "xalign", 1.0, NULL);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
270 column = gtk_tree_view_column_new_with_attributes("Left", renderer,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
271 "text", COL_LEFT, NULL);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
272 gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
273
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
274 renderer = gtk_cell_renderer_text_new();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
275 g_object_set(renderer, "xalign", 0.0, NULL);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
276 column = gtk_tree_view_column_new_with_attributes("Right", renderer,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
277 "text", COL_RIGHT,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
278 NULL);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
279 gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
280
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
281 scrollwin = gtk_scrolled_window_new(NULL, NULL);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
282 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrollwin),
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
283 GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
284 gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrollwin), GTK_SHADOW_IN);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
285 gtk_container_add(GTK_CONTAINER(scrollwin), treeview);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
286 gtk_container_set_border_width(GTK_CONTAINER(scrollwin), 10);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
287
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
288 gtk_widget_show_all(scrollwin);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
289
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
290 return scrollwin;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
291 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
292
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
293 void
500
5c76d862ed49 [svn] Add show_credits_window() declaration.
nenolod
parents: 471
diff changeset
294 show_credits_window(void)
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
295 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
296 static GtkWidget *about_window = NULL;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
297
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
298 GdkPixmap *beep_logo_pmap = NULL, *beep_logo_mask = NULL;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
299 GtkWidget *about_vbox;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
300 GtkWidget *about_credits_logo_box, *about_credits_logo_frame;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
301 GtkWidget *about_credits_logo;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
302 GtkWidget *about_notebook;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
303 GtkWidget *list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
304 GtkWidget *bbox, *close_btn;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
305 GtkWidget *label;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
306 gchar *text;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
307
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
308 if (about_window)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
309 return;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
310
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
311 about_window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
312 gtk_window_set_type_hint(GTK_WINDOW(about_window),
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
313 GDK_WINDOW_TYPE_HINT_DIALOG);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
314
501
3a940b8dac46 [svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents: 500
diff changeset
315 gtk_window_set_default_size(GTK_WINDOW(about_window), -1, 512);
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
316 gtk_window_set_title(GTK_WINDOW(about_window), _("About Audacious"));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
317 gtk_window_set_position(GTK_WINDOW(about_window), GTK_WIN_POS_CENTER);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
318 gtk_window_set_resizable(GTK_WINDOW(about_window), TRUE);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
319 gtk_container_set_border_width(GTK_CONTAINER(about_window), 10);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
320
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
321 g_signal_connect(about_window, "destroy",
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
322 G_CALLBACK(gtk_widget_destroyed), &about_window);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
323
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
324 gtk_widget_realize(about_window);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
325
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
326 about_vbox = gtk_vbox_new(FALSE, 5);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
327 gtk_container_add(GTK_CONTAINER(about_window), about_vbox);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
328
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
329 if (!beep_logo_pmap)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
330 beep_logo_pmap =
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
331 gdk_pixmap_create_from_xpm_d(about_window->window,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
332 &beep_logo_mask, NULL, audacious_logo_xpm);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
333
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
334 about_credits_logo_box = gtk_hbox_new(TRUE, 0);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
335 gtk_box_pack_start(GTK_BOX(about_vbox), about_credits_logo_box,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
336 FALSE, FALSE, 0);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
337
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
338 about_credits_logo_frame = gtk_frame_new(NULL);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
339 gtk_frame_set_shadow_type(GTK_FRAME(about_credits_logo_frame),
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
340 GTK_SHADOW_ETCHED_OUT);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
341 gtk_box_pack_start(GTK_BOX(about_credits_logo_box),
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
342 about_credits_logo_frame, FALSE, FALSE, 0);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
343
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
344 about_credits_logo = gtk_pixmap_new(beep_logo_pmap, beep_logo_mask);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
345 gtk_container_add(GTK_CONTAINER(about_credits_logo_frame),
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
346 about_credits_logo);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
347
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
348 label = gtk_label_new(NULL);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
349 text = g_strdup_printf(_(bmp_brief), VERSION);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
350 gtk_label_set_markup(GTK_LABEL(label), text);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
351 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_CENTER);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
352 g_free(text);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
353
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
354 gtk_box_pack_start(GTK_BOX(about_vbox), label, FALSE, FALSE, 0);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
355
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
356 about_notebook = gtk_notebook_new();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
357 gtk_box_pack_start(GTK_BOX(about_vbox), about_notebook, TRUE, TRUE, 0);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
358
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
359 list = generate_credit_list(credit_text, TRUE);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
360 gtk_notebook_append_page(GTK_NOTEBOOK(about_notebook), list,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
361 gtk_label_new(_("Credits")));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
362
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
363 list = generate_credit_list(translators, FALSE);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
364 gtk_notebook_append_page(GTK_NOTEBOOK(about_notebook), list,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
365 gtk_label_new(_("Translators")));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
366
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
367 bbox = gtk_hbutton_box_new();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
368 gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
369 gtk_button_box_set_spacing(GTK_BUTTON_BOX(bbox), 5);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
370 gtk_box_pack_start(GTK_BOX(about_vbox), bbox, FALSE, FALSE, 0);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
371
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
372 close_btn = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
373 g_signal_connect_swapped(close_btn, "clicked",
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
374 G_CALLBACK(gtk_widget_destroy), about_window);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
375 GTK_WIDGET_SET_FLAGS(close_btn, GTK_CAN_DEFAULT);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
376 gtk_box_pack_start(GTK_BOX(bbox), close_btn, TRUE, TRUE, 0);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
377 gtk_widget_grab_default(close_btn);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
378
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
379 gtk_widget_show_all(about_window);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
380 }