annotate gui/dialog/about.c @ 36052:caf1f563e0ee

Remove all gtk_widget_set_name() calls. This is probably a leftover from the very early days and has very probably never been used.
author ib
date Thu, 04 Apr 2013 10:53:20 +0000
parents aebe956868d9
children 7affacef2f88
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26458
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
1 /*
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
2 * This file is part of MPlayer.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
3 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
5 * it under the terms of the GNU General Public License as published by
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
7 * (at your option) any later version.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
8 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
12 * GNU General Public License for more details.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
13 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
14 * You should have received a copy of the GNU General Public License along
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
17 */
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
18
26203
0d255d03016f #include config.h before all other headers.
diego
parents: 25601
diff changeset
19 #include "config.h"
35525
e27855a45128 Rebuild GUI directory structure.
ib
parents: 34466
diff changeset
20 #include "gui/app/app.h"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
21 #include "help_mp.h"
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
22 #include "version.h"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
23
35526
3c901704a27c Rebuild GUI directory structure.
ib
parents: 35525
diff changeset
24 #include "pixmaps/emblem.xpm"
35529
8ad4d2fb46e8 Rebuild GUI directory structure.
ib
parents: 35526
diff changeset
25 #include "dialog.h"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
26 #include "about.h"
33572
d9b805602aa1 Rename some gtk files.
ib
parents: 33570
diff changeset
27 #include "tools.h"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
28
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
29 GtkWidget * About = NULL;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
30
34466
a650895d50a5 Use correct data types and common variable names in GTK callback functions.
ib
parents: 33963
diff changeset
31 static void abWidgetDestroy( GtkButton * button, gpointer user_data )
36010
5c720c434d56 Silence "warning: unused parameter".
ib
parents: 36008
diff changeset
32 {
5c720c434d56 Silence "warning: unused parameter".
ib
parents: 36008
diff changeset
33 (void) button;
5c720c434d56 Silence "warning: unused parameter".
ib
parents: 36008
diff changeset
34 (void) user_data;
5c720c434d56 Silence "warning: unused parameter".
ib
parents: 36008
diff changeset
35
5c720c434d56 Silence "warning: unused parameter".
ib
parents: 36008
diff changeset
36 gtk_widget_destroy( About );
5c720c434d56 Silence "warning: unused parameter".
ib
parents: 36008
diff changeset
37 }
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
38
35996
6c891a0e3fea Cosmetic: Rename the functions creating the dialogs.
ib
parents: 35989
diff changeset
39 static GtkWidget * CreateAbout( void )
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
40 {
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
41 GtkWidget * vbox;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
42 GtkWidget * pixmap1;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
43 GtkWidget * scrolledwindow1;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
44 GtkWidget * AboutText;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
45 GtkWidget * Ok;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
46
27343
5fe6a8adf569 Rename two GUI-related preprocessor directives:
diego
parents: 26458
diff changeset
47 #ifdef CONFIG_GTK2
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
48 GtkTextBuffer * AboutTextBuffer;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
49 GtkTextIter iter;
27343
5fe6a8adf569 Rename two GUI-related preprocessor directives:
diego
parents: 26458
diff changeset
50 #endif /* CONFIG_GTK2 */
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
51
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
52 GtkStyle * pixmapstyle;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
53 GdkPixmap * pixmapwid;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
54 GdkBitmap * mask;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
55
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
56 GtkAccelGroup * accel_group;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
57
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
58 char title[128];
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
59
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
60 accel_group=gtk_accel_group_new();
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
61
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
62 About=gtk_window_new( GTK_WINDOW_TOPLEVEL );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
63 gtk_widget_set_usize( About,340,415 );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
64 gtk_window_set_title( GTK_WINDOW( About ),MSGTR_About );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
65 gtk_window_set_position( GTK_WINDOW( About ),GTK_WIN_POS_CENTER );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
66 gtk_window_set_policy( GTK_WINDOW( About ),TRUE,FALSE,FALSE );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
67 gtk_window_set_wmclass( GTK_WINDOW( About ),"About","MPlayer" );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
68
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
69 gtk_widget_realize( About );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
70 gtkAddIcon( About );
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
71
36023
a04e8798227b Cosmetic: Prefix all functions in dialog/tools.c with gtk.
ib
parents: 36019
diff changeset
72 vbox=gtkAddVBox( gtkAddDialogFrame( About ),0 );
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
73
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
74 pixmapstyle=gtk_widget_get_style( About );
33570
f4a32f67fee7 Rename some pixmaps.
ib
parents: 33557
diff changeset
75 pixmapwid=gdk_pixmap_colormap_create_from_xpm_d( About->window,gdk_colormap_get_system(),&mask,&pixmapstyle->bg[GTK_STATE_NORMAL],(gchar **) emblem_xpm );
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
76 pixmap1=gtk_pixmap_new( pixmapwid,mask );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
77
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
78 gtk_widget_show( pixmap1 );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
79 gtk_box_pack_start( GTK_BOX( vbox ),pixmap1,FALSE,FALSE,0 );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
80 gtk_widget_set_usize( pixmap1,-2,174 );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
81
36023
a04e8798227b Cosmetic: Prefix all functions in dialog/tools.c with gtk.
ib
parents: 36019
diff changeset
82 gtkAddHSeparator( vbox );
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
83
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
84 scrolledwindow1=gtk_scrolled_window_new( NULL,NULL );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
85 gtk_widget_show( scrolledwindow1 );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
86 gtk_box_pack_start( GTK_BOX( vbox ),scrolledwindow1,TRUE,TRUE,0 );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
87 gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW( scrolledwindow1 ),GTK_POLICY_AUTOMATIC,GTK_POLICY_AUTOMATIC );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
88
27343
5fe6a8adf569 Rename two GUI-related preprocessor directives:
diego
parents: 26458
diff changeset
89 #ifdef CONFIG_GTK2
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
90 AboutText = gtk_text_view_new();
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
91 gtk_text_view_set_editable(GTK_TEXT_VIEW(AboutText), FALSE);
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
92 gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(AboutText), FALSE);
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
93 AboutTextBuffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (AboutText));
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
94 gtk_text_buffer_get_iter_at_offset (AboutTextBuffer, &iter, 0);
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
95 #else
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
96 AboutText=gtk_text_new( NULL,NULL );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
97 gtk_text_set_editable(GTK_TEXT(AboutText), FALSE);
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
98 #endif
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
99 gtk_widget_show( AboutText );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
100 gtk_container_add( GTK_CONTAINER( scrolledwindow1 ),AboutText );
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
101 snprintf(title, sizeof(title), MP_TITLE, "MPlayer");
27343
5fe6a8adf569 Rename two GUI-related preprocessor directives:
diego
parents: 26458
diff changeset
102 #ifdef CONFIG_GTK2
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
103 gtk_text_buffer_insert (AboutTextBuffer, &iter, title, -1);
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
104 gtk_text_buffer_insert (AboutTextBuffer, &iter,
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
105 #else
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
106 gtk_text_insert( GTK_TEXT( AboutText ),NULL,NULL,NULL, title, -1 );
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
107 gtk_text_insert( GTK_TEXT( AboutText ),NULL,NULL,NULL,
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
108 #endif
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
109 "\n"
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
110 MSGTR_ABOUT_UHU
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
111 " (http://www.uhulinux.hu/)\n"
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
112 "\n"
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
113 MSGTR_ABOUT_Contributors
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
114 "\n"
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
115 " * Andreas Ackermann\n"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
116 " * adland\n"
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
117 " * Eric Anholt\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
118 " * Folke Ashberg\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
119 " * Dénes Balatoni\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
120 " * Zsolt Barat\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
121 " * Luca Barbato\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
122 " * Dmitry Baryshkov\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
123 " * Bertrand Baudet\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
124 " * Alban Bedel\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
125 " * Michael Behrisch\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
126 " * Luchezar Belev\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
127 " * Gábor Bérczi\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
128 " * Szabolcs Berecz\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
129 " * Alex Beregszászi\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
130 " * Tilmann Bitterberg\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
131 " * Diego Biurrun\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
132 " * Marcsu Blomenkamp\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
133 " * Ingo Brückl\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
134 " * Andrew Buehler\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
135 " * Eviv Bulgroz\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
136 " * Felix Bünemann\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
137 " * Moritz Bunkus\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
138 " * Dan Villiom Podlaski Christiansen\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
139 " * Jeff Clagg\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
140 " * compn\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
141 " * Marcus Comstedt\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
142 " * Kees Cook\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
143 " * Stephen Davies\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
144 " * Piero Di Vita\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
145 " * Tobias Diedrich\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
146 " * Florian Dietrich\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
147 " * Jeroen Dobbelaere\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
148 " * Reimar Döffinger\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
149 " * Romain Dolbeau\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
150 " * Ismail Dönmez\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
151 " * Robert Edele\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
152 " * Christoph Egger\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
153 " * Paul Wilhelm Elsinghorst\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
154 " * Bernd Ernesti\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
155 " * Salvatore Falco\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
156 " * Johannes Feigl\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
157 " * D Richard III Felker\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
158 " * Tim Ferguson\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
159 " * Ross Finlayson\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
160 " * Daniele Forghieri\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
161 " * Kilian A. Foth\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
162 " * Fabian Franz\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
163 " * Martin Gansser\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
164 " * Árpád Gereöffy\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
165 " * Matteo Giani\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
166 " * Sven Goethel\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
167 " * German Gomez Garcia\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
168 " * Alexander Gottwald\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
169 " * Michael Graffam\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
170 " * Andriy N. Gritsenko\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
171 " * Rémi Guyomarch\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
172 " * Jürgen Hammelmann\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
173 " * Christopher R. Hertel\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
174 " * Andreas Hess\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
175 " * Corey Hickey\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
176 " * Zoltán Hidvégi\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
177 " * Jens Hoffmann\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
178 " * David Holm\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
179 " * Bohdan Horst\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
180 " * Hampa Hug\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
181 " * Tomas Hurka\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
182 " * Sidik Isani\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
183 " * Panagiotis Issaris\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
184 " * Aurelien Jacobs\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
185 " * Reza Jelveh\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
186 " * Jonas Jermann\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
187 " * Anders Johansson\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
188 " * Nicholas Kain\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
189 " * Filip Kalinski\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
190 " * Ivan Kalvachev\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
191 " * Wojtek Kaniewski\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
192 " * Kim Minh Kaplan\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
193 " * Samuli Kärkkäinen\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
194 " * Jürgen Keil\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
195 " * Robert Kesterson\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
196 " * Attila Kinali\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
197 " * Gregory Kovriga\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
198 " * David Kühling\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
199 " * Fredrik Kuivinen\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
200 " * Nick Kurshev\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
201 " * Brian Kuschak\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
202 " * Vladimir Kushnir\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
203 " * Dave Lambley\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
204 " * Gyula László\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
205 " * Nicolas Le Gaillart\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
206 " * Gábor Lénárt\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
207 " * Colin Leroy\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
208 " * Oskar Liljeblad\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
209 " * Sam Lin\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
210 " * Pierre Lombard\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
211 " * Puk Madick\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
212 " * Jindrich Makovicka\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
213 " * Rudolf Marek\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
214 " * László Megyer\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
215 " * Mike Melanson\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
216 " * Arwed von Merkatz\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
217 " * Loren Merritt\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
218 " * Dominik Mierzejewski\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
219 " * Mihail Milushev\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
220 " * Nehal Mistry\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
221 " * András Mohari\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
222 " * Steven Mueller\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
223 " * Alexander Neundorf\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
224 " * Michael Niedermayer\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
225 " * Fredrik Noring\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
226 " * Christian Ohm\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
227 " * Joey Parrish\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
228 " * Dariusz Pietrzak\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
229 " * Nicolas Plourde\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
230 " * Lennart Poettering\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
231 " * Guillaume Poirier\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
232 " * Zoltán Ponekker\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
233 " * Ivo van Poorten\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
234 " * Lu Ran\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
235 " * Uwe Reder\n"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
236 " * rgselk\n"
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
237 " * Rune Petersen\n"
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
238 " * Ville Saari\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
239 " * Nico Sabbi\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
240 " * Björn Sandell\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
241 " * Tilman Sauerbeck\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
242 " * Frank Scherthan\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
243 " * Florian Schneider\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
244 " * Oliver Schoenbrunner\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
245 " * Oded Shimon\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
246 " * Peter Simon\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
247 " * Rik Snel\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
248 " * Sascha Sommer\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
249 " * Alexander Strasser\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
250 " * Kamil Strzelecki\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
251 " * Jiri Svoboda\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
252 " * Robert Swain\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
253 " * Ville Syrjälä\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
254 " * Gabor Szecsi\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
255 " * Jason Tackaberry\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
256 " * Howell Tam\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
257 " * Adam Tlalka\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
258 " * Gianluigi Tiesi\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
259 " * Roberto Togni\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
260 " * Salvador Eduardo Tropea\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
261 " * Miklós Vajna\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
262 " * Reynaldo H. Verdejo Pinochet\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
263 " * Per Wigren\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
264 " * Derek J Witt\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
265 " * Alan Young\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
266 " * Artur Zaprzala\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
267 " * Mark Zealey\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
268 " * Matan Ziv-Av\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
269 " * Márk Vicián Zoltán\n"
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
270 "\n"
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
271 MSGTR_ABOUT_Codecs_libs_contributions
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
272 "\n"
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
273 " * Fabrice Bellard\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
274 " * Vivien Chappelier\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
275 " * Michael Hipp\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
276 " * Aaron Holtzman\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
277 " * Jake Janovetz\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
278 " * Zdenek Kabelac\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
279 " * Eugene Kuznetsov\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
280 " * Michel Lespinasse\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
281 " * Mark Podlipec\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
282 " * Damien Vincent\n"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
283 "\n"
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
284 MSGTR_ABOUT_Translations
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
285 "\n"
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
286 " * Marcin Biernat\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
287 " * Marc Fargas\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
288 " * Jiri Heryan\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
289 " * Marek Jarycki\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
290 " * Leszek Kaplita\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
291 " * Sebastian Krämer\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
292 " * Juan Martin López\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
293 " * Piotr Michniewski\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
294 " * Jakub Misiorny\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
295 " * Gábor Mizda\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
296 " * Maciej Paszta\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
297 " * Łukasz Proszek\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
298 " * Wacław Schiller\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
299 " * Andoni Zubimendi\n"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
300 "\n"
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
301 MSGTR_ABOUT_Skins
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27343
diff changeset
302 "\n"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
303 " * Azrael\n"
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
304 " * Viktor Bekesi\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
305 " * Ingo Brückl\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
306 " * Andrew Carpenter\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
307 " * Charles Foucault\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
308 " * Attila Gyimesi\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
309 " * Alban Hertroys\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
310 " * Balint Kiss\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
311 " * Andre Kuehne\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
312 " * Rüdiger Kuhlmann\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
313 " * Dan Naumov\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
314 " * Ryan Northam\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
315 " * Juan Pablo Oyarzun Arroyo\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
316 " * DongCheon Park\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
317 " * Jurgen Pehrson\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
318 " * Nikola Pizurica\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
319 " * Oliwier Ptak\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
320 " * Pasquale Riccio\n"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
321 " * Burt.S.\n"
33963
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
322 " * Jesper Schultz\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
323 " * Marcin Szumiela\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
324 " * Massimo Tisi\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
325 " * Jiri jun. Tyr\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
326 " * Ognian Vasilev\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
327 " * Imre Veres\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
328 " * Radic Vesko\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
329 " * Balasz Vigvary\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
330 " * Andrew Weber\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
331 " * Gary Jr. Whitmore\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
332 " * Franciszek Wilamowski\n"
335de7e0f6ed Add the MPlayer title string to the about box.
ib
parents: 33572
diff changeset
333 " * Michael Zeising", -1 );
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
334
36023
a04e8798227b Cosmetic: Prefix all functions in dialog/tools.c with gtk.
ib
parents: 36019
diff changeset
335 gtkAddHSeparator( vbox );
a04e8798227b Cosmetic: Prefix all functions in dialog/tools.c with gtk.
ib
parents: 36019
diff changeset
336 Ok=gtkAddButton( MSGTR_Ok,gtkAddHButtonBox( vbox ) );
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
337
36008
d154d0035cb0 Don't use WidgetDestroy().
ib
parents: 35996
diff changeset
338 gtk_signal_connect( GTK_OBJECT( About ),"destroy",GTK_SIGNAL_FUNC( gtk_widget_destroyed ),&About );
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
339 gtk_signal_connect_object( GTK_OBJECT( Ok ),"clicked",GTK_SIGNAL_FUNC( abWidgetDestroy ),NULL );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
340
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
341 gtk_widget_add_accelerator( Ok,"clicked",accel_group,GDK_Escape,0,GTK_ACCEL_VISIBLE );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
342 gtk_widget_add_accelerator( Ok,"clicked",accel_group,GDK_Return,0,GTK_ACCEL_VISIBLE );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
343 gtk_window_add_accel_group( GTK_WINDOW( About ),accel_group );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
344
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
345 return About;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
346 }
35989
188b782b013f Make create_About() static.
ib
parents: 35977
diff changeset
347
188b782b013f Make create_About() static.
ib
parents: 35977
diff changeset
348 void ShowAbout( void )
188b782b013f Make create_About() static.
ib
parents: 35977
diff changeset
349 {
36019
d2d776c8e040 Cosmetic: Rename gtkActive() gtkRaise().
ib
parents: 36010
diff changeset
350 if ( About ) gtkRaise( About );
35996
6c891a0e3fea Cosmetic: Rename the functions creating the dialogs.
ib
parents: 35989
diff changeset
351 else About=CreateAbout();
35989
188b782b013f Make create_About() static.
ib
parents: 35977
diff changeset
352 gtk_widget_show( About );
188b782b013f Make create_About() static.
ib
parents: 35977
diff changeset
353 }