annotate gui/dialog/about.c @ 36694:eed2fb870f43

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