annotate Gui/mplayer/gtk/about.c @ 13847:939ec0981090

several updates in video filters section, almost finished sync added a tag to indicate how far the sync process has gone 1.799: vo_gl should work fine with -fixed-vo
author kraymer
date Tue, 02 Nov 2004 00:03:38 +0000
parents 5f154628f928
children 683d7592d9dc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
1
8043
e5dda05f9aab cleanup
pontscho
parents: 7527
diff changeset
2 #include "../../app.h"
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
3 #include "../../../config.h"
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
4 #include "../../../help_mp.h"
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
5
6625
54cfbaaf161b remove unneded config files
pontscho
parents: 6146
diff changeset
6 #include "mplayer/pixmaps/about.xpm"
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
7 #include "../widgets.h"
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
8 #include "about.h"
8299
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
9 #include "common.h"
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
10
8299
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
11 GtkWidget * About = NULL;
6146
b9651eb9749e fix some gtk bug...
pontscho
parents: 6044
diff changeset
12
b9651eb9749e fix some gtk bug...
pontscho
parents: 6044
diff changeset
13 void ShowAboutBox( void )
b9651eb9749e fix some gtk bug...
pontscho
parents: 6044
diff changeset
14 {
8299
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
15 if ( About ) gtkActive( About );
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
16 else About=create_About();
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
17 gtk_widget_show( About );
6146
b9651eb9749e fix some gtk bug...
pontscho
parents: 6044
diff changeset
18 }
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
19
8719
dc27303ae528 correct widget destroy event handler (thank for D J Hawkey Jr <hawkeyd@visi.com>)
pontscho
parents: 8299
diff changeset
20 void abWidgetDestroy( GtkWidget * widget,GtkWidget ** widget_pointer )
dc27303ae528 correct widget destroy event handler (thank for D J Hawkey Jr <hawkeyd@visi.com>)
pontscho
parents: 8299
diff changeset
21 { WidgetDestroy( NULL,&About ); }
dc27303ae528 correct widget destroy event handler (thank for D J Hawkey Jr <hawkeyd@visi.com>)
pontscho
parents: 8299
diff changeset
22
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
23 GtkWidget * create_About( void )
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
24 {
8299
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
25 GtkWidget * vbox;
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
26 GtkWidget * pixmap1;
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
27 GtkWidget * scrolledwindow1;
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
28 GtkWidget * AboutText;
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
29 GtkWidget * Ok;
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
30
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
31 GtkStyle * pixmapstyle;
3616
6a4155dce92c nesze LGB beleirtalak igy ;)
pontscho
parents: 2901
diff changeset
32 GdkPixmap * pixmapwid;
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
33 GdkBitmap * mask;
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
34
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
35 GtkAccelGroup * accel_group;
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
36
6146
b9651eb9749e fix some gtk bug...
pontscho
parents: 6044
diff changeset
37 accel_group=gtk_accel_group_new();
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
38
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
39 About=gtk_window_new( GTK_WINDOW_TOPLEVEL );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
40 gtk_widget_set_name( About,MSGTR_About );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
41 gtk_object_set_data( GTK_OBJECT( About ),MSGTR_About,About );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
42 gtk_widget_set_usize( About,340,415 );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
43 gtk_window_set_title( GTK_WINDOW( About ),MSGTR_About );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
44 gtk_window_set_position( GTK_WINDOW( About ),GTK_WIN_POS_CENTER );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
45 gtk_window_set_policy( GTK_WINDOW( About ),TRUE,FALSE,FALSE );
8299
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
46 gtk_window_set_wmclass( GTK_WINDOW( About ),"About","MPlayer" );
6651
8f49c75a2824 - add icon (nice, but very ugly hakk:)
pontscho
parents: 6625
diff changeset
47
8f49c75a2824 - add icon (nice, but very ugly hakk:)
pontscho
parents: 6625
diff changeset
48 gtk_widget_realize( About );
8f49c75a2824 - add icon (nice, but very ugly hakk:)
pontscho
parents: 6625
diff changeset
49 gtkAddIcon( About );
8299
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
50
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
51 vbox=AddVBox( AddDialogFrame( About ),0 );
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
52
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
53 pixmapstyle=gtk_widget_get_style( About );
3616
6a4155dce92c nesze LGB beleirtalak igy ;)
pontscho
parents: 2901
diff changeset
54 pixmapwid=gdk_pixmap_colormap_create_from_xpm_d( About->window,gdk_colormap_get_system(),&mask,&pixmapstyle->bg[GTK_STATE_NORMAL],about_xpm );
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
55 pixmap1=gtk_pixmap_new( pixmapwid,mask );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
56
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
57 gtk_widget_set_name( pixmap1,"pixmap1" );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
58 gtk_widget_show( pixmap1 );
8299
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
59 gtk_box_pack_start( GTK_BOX( vbox ),pixmap1,FALSE,FALSE,0 );
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
60 gtk_widget_set_usize( pixmap1,-2,174 );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
61
8299
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
62 AddHSeparator( vbox );
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
63
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
64 scrolledwindow1=gtk_scrolled_window_new( NULL,NULL );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
65 gtk_widget_set_name( scrolledwindow1,"scrolledwindow1" );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
66 gtk_widget_show( scrolledwindow1 );
8299
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
67 gtk_box_pack_start( GTK_BOX( vbox ),scrolledwindow1,TRUE,TRUE,0 );
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
68 gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW( scrolledwindow1 ),GTK_POLICY_AUTOMATIC,GTK_POLICY_AUTOMATIC );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
69
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
70 AboutText=gtk_text_new( NULL,NULL );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
71 gtk_widget_set_name( AboutText,"AboutText" );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
72 gtk_widget_show( AboutText );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
73 gtk_container_add( GTK_CONTAINER( scrolledwindow1 ),AboutText );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
74 gtk_text_insert( GTK_TEXT( AboutText ),NULL,NULL,NULL,
9189
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
75 "\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
76 MSGTR_ABOUT_UHU
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
77 " (http://www.uhulinux.hu/)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
78 "\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
79 MSGTR_ABOUT_CoreTeam
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
80 "\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
81 " * Arpad Gereoffy (A'rpi/ESP-team)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
82 " * Zoltan Ponekker (Pontscho/fresh!mindworkz)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
83 " * Gabor Berczi (Gabucino)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
84 " * Alex Beregszaszi (al3x)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
85 " * Gabor Lenart (LGB)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
86 " * Felix Buenemann (Atmos)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
87 " * Alban Bedel (Albeu)\n"
9612
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
88 " * Pierre Lombard (pl)\n"
9189
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
89 " * Michael Niedermayer\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
90 "\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
91 MSGTR_ABOUT_AdditionalCoders
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
92 "\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
93 " * Szabolcs Berecz (Szabi)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
94 " * Laszlo Megyer (Lez, Laaz)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
95 " * Gyula Laszlo (Chass, Tegla)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
96 " * Zoltan Mark Vician (Se7en)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
97 " * Andreas Ackermann (Acki)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
98 " * Michael Graffam\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
99 " * Jens Hoffmann\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
100 " * German Gomez Garcia\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
101 " * Dariusz Pietrzak (Eyck)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
102 " * Marcus Comstedt\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
103 " * Juergen Keil\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
104 " * Vladimir Kushnir\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
105 " * Bertrand Baudet\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
106 " * Derek J Witt\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
107 " * Artur Zaprzala\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
108 " * Adam Tla/lka\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
109 " * Folke Ashberg\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
110 " * Kamil Toman\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
111 " * Ivan Kalvatchev\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
112 " * Sven Goethel\n"
9612
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
113 " * Joy Winter\n"
9189
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
114 " * Eric Anholt\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
115 " * Jiri Svoboda\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
116 " * Oliver Schoenbrunner\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
117 " * Jeroen Dobbelaere\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
118 " * David Holm\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
119 " * Panagiotis Issaris\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
120 " * Mike Melanson\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
121 " * Tobias Diedrich\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
122 " * Kilian A. Foth\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
123 " * Tim Ferguson\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
124 " * Sam Lin\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
125 " * Johannes Feigl\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
126 " * Kim Minh Kaplan\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
127 " * Brian Kuschak\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
128 " * Stephen Davies\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
129 " * Rik Snel\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
130 " * Anders Johansson\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
131 " * Roberto Togni\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
132 " * Wojtek Kaniewski\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
133 " * Fredrik Kuivinen\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
134 " * Diego Biurrun\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
135 " * Sascha Sommer\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
136 " * Jindrich Makovicka\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
137 " * D Richard Felker III\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
138 " * Moritz Bunkus\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
139 " * Colin Leroy\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
140 " * Joey Parrish\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
141 " * Dominik Mierzejewski\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
142 " * Florian Schneider\n"
9612
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
143 " * Sidik Isani\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
144 " * Fredrik Noring\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
145 " * Kees Cook\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
146 " * Hampa Hug\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
147 " * Uwe Reder\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
148 " * Andriy N. Gritsenko\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
149 " * Juergen Hammelmann\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
150 " * Martin Gansser\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
151 " * Matteo Giani\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
152 " * Rudolf Marek\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
153 " * Tilman Sauerbeck\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
154 " * Mark Zealey\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
155 " * Gregory Kovriga\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
156 " * Remi Guyomarch\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
157 " * Salvatore Falco\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
158 " * Ville Syrjala\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
159 " * Bjorn Sandell\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
160 " * Per Wigren\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
161 " * Nicolas Le Gaillart\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
162 " * Lu Ran\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
163 " * Andras Mohari\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
164 " * Denes Balatoni\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
165 " * Oskar Liljeblad\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
166 " * Bernd Ernesti\n"
9189
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
167 "\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
168 MSGTR_ABOUT_MainTesters
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
169 "\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
170 " * Tibor Balazs (Tibcu)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
171 " * Peter Sasi (SaPe)\n"
9612
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
172 " * Christoph H. Lampert (Gruel)\n"
a9273ae50f59 what's the opposite of backport? :)
arpi
parents: 9189
diff changeset
173 " * Attila Kinali (KotH)\n"
9189
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
174 " * Bohdan Horst (Nexus)\n"
2bc37966cb23 commit and extend Diego Biurrun's patch
pontscho
parents: 8779
diff changeset
175 "\n",-1 );
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
176
8299
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
177 AddHSeparator( vbox );
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
178 Ok=AddButton( MSGTR_Ok,AddHButtonBox( vbox ) );
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
179
8719
dc27303ae528 correct widget destroy event handler (thank for D J Hawkey Jr <hawkeyd@visi.com>)
pontscho
parents: 8299
diff changeset
180 gtk_signal_connect( GTK_OBJECT( About ),"destroy",GTK_SIGNAL_FUNC( WidgetDestroy ),&About );
dc27303ae528 correct widget destroy event handler (thank for D J Hawkey Jr <hawkeyd@visi.com>)
pontscho
parents: 8299
diff changeset
181 gtk_signal_connect_object( GTK_OBJECT( Ok ),"clicked",GTK_SIGNAL_FUNC( abWidgetDestroy ),NULL );
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
182
8299
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
183 gtk_widget_add_accelerator( Ok,"clicked",accel_group,GDK_Escape,0,GTK_ACCEL_VISIBLE );
5b67aed0fc28 - remove some unused/nonusable variables
pontscho
parents: 8043
diff changeset
184 gtk_widget_add_accelerator( Ok,"clicked",accel_group,GDK_Return,0,GTK_ACCEL_VISIBLE );
2901
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
185 gtk_window_add_accel_group( GTK_WINDOW( About ),accel_group );
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
186
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
187 return About;
f77f8379f28f rewrite ...
pontscho
parents:
diff changeset
188 }