Lines Matching refs:widgets

7   my $widgets     = shift;
9 foreach ( keys %{$widgets} ) {
10 return $_ if $widgets->{$_} == $this_widget;
16 my ( $widgets, $signal, $function, @data ) = @_;
18 $widgets->{$_}->signal_connect( $signal, $function );
54 my $widgets;
61 $widgets->{'acidrip'} = new Gtk2::Window;
62 $widgets->{'acidrip'}->set_title(msg("acidrip"));
63 $widgets->{'acidrip'}->set_resizable(0);
64 $widgets->{'acidrip'}->realize;
68 $widgets->{'status_vbox'} = new Gtk2::VBox( 0, 0 );
69 $widgets->{'acidrip'}->add( $widgets->{'status_vbox'} );
70 $widgets->{'status_vbox'}->show;
72 $widgets->{'main_table'} = new Gtk2::Table( 10, 2, 0 );
73 $widgets->{'main_table'}->show;
76 $widgets->{'main_hbox'} = new Gtk2::HBox( 0, 0 );
77 $widgets->{'status_vbox'}->add( $widgets->{'main_hbox'} );
78 $widgets->{'main_hbox'}->show;
82 $widgets->{'left_vbox'} = new Gtk2::VBox( 0, 0 );
83 $widgets->{'main_hbox'}->add( $widgets->{'left_vbox'} );
84 $widgets->{'left_vbox'}->show;
88 $widgets->{'notebook_vbox'} = new Gtk2::VBox( 0, 0 );
89 $widgets->{'notebook_vbox'}->show;
93 $widgets->{'notebook'} = new Gtk2::Notebook();
94 $widgets->{'notebook'}->show;
95 $widgets->{'notebook'}->set_border_width(2);
96 $widgets->{'left_vbox'}->add( $widgets->{'notebook'} );
97 …$widgets->{'notebook'}->append_page( $widgets->{'notebook_vbox'}, new Gtk2::Label(msg("General")));
102 $widgets->{'general_frame'} = new Gtk2::Frame(msg('General'));
103 $widgets->{'general_frame'}->set_shadow_type('etched_in');
104 $widgets->{'notebook_vbox'}->add( $widgets->{'general_frame'} );
105 $widgets->{'general_frame'}->show;
106 $widgets->{'general_frame'}->set_border_width(2);
110 $widgets->{'general_table'} = new Gtk2::Table( 5, 4, 0 );
111 $widgets->{'general_frame'}->add( $widgets->{'general_table'} );
112 $widgets->{'general_table'}->set_row_spacings($row_height);
113 $widgets->{'general_table'}->show;
117 $widgets->{'title_label'} = new Gtk2::Label(msg('Track title'));
118 $widgets->{'general_table'}->attach( $widgets->{'title_label'}, 0, 1, 0, 1, ['fill'], [], 2, 2 );
119 $widgets->{'title_label'}->show;
120 $widgets->{'title_label'}->set_alignment( 0, 0 );
124 $widgets->{'title_entry'} = new Gtk2::Entry;
125 $widgets->{'title_entry'}->show;
126 $widgets->{'title_entry'}->set_size_request( 10, -1 );
127 $widgets->{'general_table'}->attach( $widgets->{'title_entry'}, 1, 5, 0, 1, ['fill'], [], 2, 2 );
131 $widgets->{'filename_label'} = new Gtk2::Label(msg('Filename'));
132 …$widgets->{'general_table'}->attach( $widgets->{'filename_label'}, 0, 1, 1, 2, ['fill'], [], 2, 2 …
133 $widgets->{'filename_label'}->show;
137 $widgets->{'filename_entry'} = new Gtk2::Entry;
138 $widgets->{'filename_entry'}->show;
139 $widgets->{'filename_entry'}->set_size_request( 10, -1 );
140 …$widgets->{'general_table'}->attach( $widgets->{'filename_entry'}, 1, 4, 1, 2, ['fill'], [], 2, 2 …
142 $widgets->{'mpegfile_option'} = new Gtk2::OptionMenu;
143 $widgets->{'mpegfile_menu'} = new Gtk2::Menu;
144 $widgets->{'mpegfile_option'}->set_menu( $widgets->{'mpegfile_menu'} );
145 $widgets->{'mpegfile_menu'}->append( new Gtk2::MenuItem(".avi") );
146 $widgets->{'mpegfile_menu'}->append( new Gtk2::MenuItem(".mpg") );
147 $widgets->{'mpegfile_option'}->set_history( $::settings->{'mpegfile'} );
148 $widgets->{'mpegfile_option'}->show_all;
150 …$widgets->{'general_table'}->attach( $widgets->{'mpegfile_option'}, 4, 5, 1, 2, ['fill'], [], 2, 2…
153 $widgets->{'filesize_label'} = new Gtk2::Label(msg('File size'));
154 …$widgets->{'general_table'}->attach( $widgets->{'filesize_label'}, 0, 1, 2, 3, ['fill'], [], 2, 2 …
155 $widgets->{'filesize_label'}->show;
156 $widgets->{'filesize_label'}->set_alignment( 0, 0 );
159 $widgets->{'filesize_adjust'} = new Gtk2::Adjustment( 700, 1, 9999, 1, 50, 1 );
160 $widgets->{'filesize_spin'} = new Gtk2::SpinButton( $widgets->{'filesize_adjust'}, 1, 0 );
161 $widgets->{'filesize_spin'}->set_size_request( 50, -1 );
162 …$widgets->{'general_table'}->attach( $widgets->{'filesize_spin'}, 1, 2, 2, 3, [ 'expand', 'fill' ]…
163 $widgets->{'filesize_spin'}->show;
165 $widgets->{'filesize_entry'} = new Gtk2::Entry;
166 …$widgets->{'general_table'}->attach( $widgets->{'filesize_entry'}, 1, 2, 2, 3, [ 'expand', 'fill' …
167 $widgets->{'filesize_entry'}->set_size_request( 50, -1 );
168 $widgets->{'filesize_entry'}->set_editable(0);
170 $widgets->{'total_blocks_label'} = new Gtk2::Label(msg("# Files"));
171 …$widgets->{'general_table'}->attach( $widgets->{'total_blocks_label'}, 2, 4, 2, 3, ['fill'], [], 2…
172 $widgets->{'total_blocks_label'}->show;
174 $widgets->{'total_blocks_adjust'} = new Gtk2::Adjustment( 1, 1, 10, 1, 0, 1 );
175 $widgets->{'total_blocks_spin'} = new Gtk2::SpinButton( $widgets->{'total_blocks_adjust'}, 1, 0 );
176 …$widgets->{'general_table'}->attach( $widgets->{'total_blocks_spin'}, 4, 5, 2, 3, ['fill'], [], 2,…
177 $widgets->{'total_blocks_spin'}->show;
179 $widgets->{'info_label'} = new Gtk2::Label(msg('Info'));
180 $widgets->{'general_table'}->attach( $widgets->{'info_label'}, 0, 1, 3, 4, ['fill'], [], 2, 2 );
181 $widgets->{'info_label'}->set_alignment( 0, 0 );
182 $widgets->{'info_label'}->show;
184 $widgets->{'info_field_option'} = new Gtk2::OptionMenu;
185 $widgets->{'info_field_menu'} = new Gtk2::Menu;
186 $widgets->{'info_field_option'}->set_menu( $widgets->{'info_field_menu'} );
187 $widgets->{'info_field_option'}->set_size_request( 40, -1 );
188 …$widgets->{'general_table'}->attach( $widgets->{'info_field_option'}, 1, 2, 3, 4, ['fill'], [], 2,…
193 $widgets->{'info_field_menu'}->append($item);
195 $widgets->{'info_field_option'}->set_history(0);
196 $widgets->{'info_field_option'}->show_all;
198 $widgets->{'info_name_entry'} = new Gtk2::Entry;
199 …$widgets->{'general_table'}->attach( $widgets->{'info_name_entry'}, 2, 5, 3, 4, ['fill'], [], 2, 2…
200 $widgets->{'info_name_entry'}->set_size_request( 40, -1 );
201 $widgets->{'info_name_entry'}->show;
203 $widgets->{'info_artist_entry'} = new Gtk2::Entry;
204 …$widgets->{'general_table'}->attach( $widgets->{'info_artist_entry'}, 2, 5, 3, 4, ['fill'], [], 2,…
205 $widgets->{'info_artist_entry'}->set_size_request( 40, -1 );
207 $widgets->{'info_subject_entry'} = new Gtk2::Entry;
208 …$widgets->{'general_table'}->attach( $widgets->{'info_subject_entry'}, 2, 5, 3, 4, ['fill'], [], 2…
209 $widgets->{'info_subject_entry'}->set_size_request( 40, -1 );
211 $widgets->{'info_genre_entry'} = new Gtk2::Entry;
212 …$widgets->{'general_table'}->attach( $widgets->{'info_genre_entry'}, 2, 5, 3, 4, ['fill'], [], 2, …
213 $widgets->{'info_genre_entry'}->set_size_request( 40, -1 );
215 $widgets->{'info_copyright_entry'} = new Gtk2::Entry;
216 …$widgets->{'general_table'}->attach( $widgets->{'info_copyright_entry'}, 2, 5, 3, 4, ['fill'], [],…
217 $widgets->{'info_copyright_entry'}->set_size_request( 40, -1 );
219 $widgets->{'info_comment_entry'} = new Gtk2::Entry;
220 …$widgets->{'general_table'}->attach( $widgets->{'info_comment_entry'}, 2, 5, 3, 4, ['fill'], [], 2…
221 $widgets->{'info_comment_entry'}->set_size_request( 40, -1 );
223 $widgets->{'notebook_vbox'}->set_child_packing( $widgets->{'general_frame'}, 1, 1, 0, 'start' );
228 $widgets->{'audio_frame'} = new Gtk2::Frame(msg('Audio'));
229 $widgets->{'audio_frame'}->set_shadow_type('etched_in');
230 $widgets->{'notebook_vbox'}->add( $widgets->{'audio_frame'} );
231 $widgets->{'audio_frame'}->show;
232 $widgets->{'audio_frame'}->set_border_width(2);
236 $widgets->{'audio_table'} = new Gtk2::Table( 3, 5, 0 );
237 $widgets->{'audio_frame'}->add( $widgets->{'audio_table'} );
238 $widgets->{'audio_table'}->set_row_spacings($row_height);
239 $widgets->{'audio_table'}->show;
243 $widgets->{'audio_track_label'} = new Gtk2::Label(msg('Language'));
244 …$widgets->{'audio_table'}->attach( $widgets->{'audio_track_label'}, 0, 1, 0, 1, ['fill'], [], 2, 2…
245 $widgets->{'audio_track_label'}->show;
246 $widgets->{'audio_track_label'}->set_alignment( 0, 0.5 );
250 $widgets->{'audio_track_option'} = new Gtk2::OptionMenu;
251 $widgets->{'audio_track_menu'} = new Gtk2::Menu;
252 $widgets->{'audio_track_option'}->set_menu( $widgets->{'audio_track_menu'} );
253 …$widgets->{'audio_track_menu'}->append( Gtk2::MenuItem->new("<Default> $::settings->{'language'}")…
254 …$widgets->{'audio_table'}->attach( $widgets->{'audio_track_option'}, 1, 5, 0, 1, [ 'expand', 'fill…
255 $widgets->{'audio_track_option'}->show_all;
256 $widgets->{'audio_track_option'}->set_history(0);
260 $widgets->{'audio_options_label'} = new Gtk2::Label(msg('Options'));
261 …$widgets->{'audio_table'}->attach( $widgets->{'audio_options_label'}, 0, 1, 2, 3, ['fill'], [], 2,…
262 $widgets->{'audio_options_label'}->show;
263 $widgets->{'audio_options_label'}->set_alignment( 0, 0.5 );
265 $widgets->{'audio_options_entry'} = new Gtk2::Entry;
266 …$widgets->{'audio_table'}->attach( $widgets->{'audio_options_entry'}, 1, 5, 2, 3, ['fill'], [], 2,…
267 $widgets->{'audio_options_entry'}->show;
268 $widgets->{'audio_options_entry'}->set_size_request( 50, -1 );
271 $widgets->{'audio_codec_label'} = new Gtk2::Label(msg('Codec'));
272 …$widgets->{'audio_table'}->attach( $widgets->{'audio_codec_label'}, 0, 1, 1, 2, ['fill'], [], 2, 2…
273 $widgets->{'audio_codec_label'}->show;
274 $widgets->{'audio_codec_label'}->set_alignment( 0, 0.5 );
278 $widgets->{'audio_codec_option'} = new Gtk2::OptionMenu;
279 $widgets->{'audio_codec_menu'} = new Gtk2::Menu;
280 $widgets->{'audio_codec_option'}->set_menu( $widgets->{'audio_codec_menu'} );
281 …$widgets->{'audio_table'}->attach( $widgets->{'audio_codec_option'}, 1, 3, 1, 2, [ 'expand', 'fill…
282 $widgets->{'audio_codec_option'}->show_all;
283 $widgets->{'left_vbox'}->set_child_packing( $widgets->{'audio_frame'}, 1, 1, 0, 'start' );
286 $widgets->{'audio_gain_label'} = new Gtk2::Label(msg("Gain"));
287 …$widgets->{'audio_table'}->attach( $widgets->{'audio_gain_label'}, 3, 4, 1, 2, [ 'expand', 'fill' …
288 $widgets->{'audio_gain_label'}->show;
290 $widgets->{'audio_gain_adjust'} = new Gtk2::Adjustment( 0, -200, 40, 1, 5, 1 );
291 $widgets->{'audio_gain_spin'} = new Gtk2::SpinButton( $widgets->{'audio_gain_adjust'}, 1, 0 );
294 …$widgets->{'audio_table'}->attach( $widgets->{'audio_gain_spin'}, 4, 5, 1, 2, [ 'expand', 'fill' ]…
295 $widgets->{'audio_gain_spin'}->show;
297 $widgets->{'mp3_type_label'} = new Gtk2::Label(msg("Type"));
300 $widgets->{'audio_table'}->attach( $widgets->{'mp3_type_label'}, 3, 4, 1, 2, ['fill'], [], 2, 2 );
301 $widgets->{'mp3_type_label'}->set_alignment( 0, 0.5 );
303 $widgets->{'mp3_type_combo'} = new Gtk2::Combo;
304 $widgets->{'audio_table'}->attach( $widgets->{'mp3_type_combo'}, 4, 5, 1, 2, ['fill'], [], 2, 2 );
305 $widgets->{'mp3_type_combo'}->set_popdown_strings( 'abr', 'cbr', 'vbr' );
308 $widgets->{'mp3_type_combo'}->set_size_request( 50, -1 );
310 $widgets->{'mp3_bitrate_label'} = new Gtk2::Label(msg("Bitrate"));
313 …$widgets->{'audio_table'}->attach( $widgets->{'mp3_bitrate_label'}, 3, 4, 2, 3, ['fill'], [], 2, 2…
314 $widgets->{'mp3_bitrate_label'}->set_alignment( 0, 0.5 );
316 $widgets->{'mp3_bitrate_entry'} = new Gtk2::Entry;
319 …$widgets->{'audio_table'}->attach( $widgets->{'mp3_bitrate_entry'}, 4, 5, 2, 3, ['fill'], [], 2, 2…
320 $widgets->{'mp3_bitrate_entry'}->set_size_request( 50, -1 );
322 $widgets->{'mp3_quality_label'} = new Gtk2::Label(msg("Quality"));
325 …$widgets->{'audio_table'}->attach( $widgets->{'mp3_quality_label'}, 3, 4, 2, 3, ['fill'], [], 2, 2…
326 $widgets->{'mp3_quality_label'}->set_alignment( 0, 0.5 );
328 $widgets->{'mp3_quality_entry'} = new Gtk2::Entry;
331 …$widgets->{'audio_table'}->attach( $widgets->{'mp3_quality_entry'}, 4, 5, 2, 3, ['fill'], [], 2, 2…
332 $widgets->{'mp3_quality_entry'}->set_size_request( 50, -1 );
336 $widgets->{'misc_table'} = new Gtk2::Table( 4, 2, 0 );
337 $widgets->{'misc_table'}->show;
338 $widgets->{'misc_table'}->set_row_spacings($row_height);
340 $widgets->{'misc_frame'} = new Gtk2::Frame(msg("Other stuff"));
341 $widgets->{'misc_frame'}->add( $widgets->{'misc_table'} );
342 $widgets->{'notebook_vbox'}->add( $widgets->{'misc_frame'} );
343 $widgets->{'misc_frame'}->show;
344 $widgets->{'misc_frame'}->set_border_width(2);
346 $widgets->{'subp_label'} = new Gtk2::Label(msg('Subtitle'));
347 $widgets->{'subp_label'}->show;
348 $widgets->{'misc_table'}->attach( $widgets->{'subp_label'}, 0, 1, 0, 1, ['fill'], [], 4, 2 );
350 $widgets->{'subp_option'} = new Gtk2::OptionMenu;
351 $widgets->{'subp_menu'} = new Gtk2::Menu;
352 $widgets->{'subp_option'}->set_menu( $widgets->{'subp_menu'} );
353 $widgets->{'subp_menu'}->append( Gtk2::MenuItem->new(msg("<None>")));
354 $widgets->{'subp_option'}->show;
355 $widgets->{'subp_option'}->set_history(0);
356 …$widgets->{'misc_table'}->attach( $widgets->{'subp_option'}, 1, 2, 0, 1, [ 'fill', 'expand' ], [],…
358 $widgets->{'vobsubout_check'} = new Gtk2::CheckButton(msg('Sub File'));
359 $widgets->{'vobsubout_check'}->show;
360 $widgets->{'misc_table'}->attach( $widgets->{'vobsubout_check'}, 2, 3, 0, 1, ['fill'], [], 2, 2 );
362 $widgets->{'more_options_entry'} = new Gtk2::Entry;
363 $widgets->{'more_options_entry'}->show;
364 $widgets->{'more_options_label'} = new Gtk2::Label(msg("Misc."));
365 $widgets->{'more_options_label'}->set_alignment( 0, 0.5 );
366 $widgets->{'more_options_label'}->show;
368 …$widgets->{'misc_table'}->attach( $widgets->{'more_options_label'}, 0, 1, 1, 2, ['fill'], [], 4, 2…
369 …$widgets->{'misc_table'}->attach( $widgets->{'more_options_entry'}, 1, 4, 1, 2, [ 'fill', 'expand'…
374 $widgets->{'video_frame'} = new Gtk2::Frame(msg('Video'));
375 $widgets->{'notebook'}->append_page( $widgets->{'video_frame'}, new Gtk2::Label(msg("Video")));
376 $widgets->{'video_frame'}->show;
377 $widgets->{'video_frame'}->set_border_width(2);
380 $widgets->{'video_table'} = new Gtk2::Table( 10, 5, 0 );
381 $widgets->{'video_table'}->set_row_spacings($row_height);
382 $widgets->{'video_frame'}->add( $widgets->{'video_table'} );
383 $widgets->{'video_table'}->show;
385 $widgets->{'video_crop_seperator'} = new Gtk2::HSeparator;
386 $widgets->{'video_crop_seperator'}->show;
387 …$widgets->{'video_table'}->attach( $widgets->{'video_crop_seperator'}, 0, 5, 3, 4, ['fill'], ['exp…
390 $widgets->{'crop_enable_check'} = new Gtk2::CheckButton(msg("Crop"));
391 …$widgets->{'video_table'}->attach( $widgets->{'crop_enable_check'}, 0, 1, 4, 5, ['fill'], ['expand…
392 $widgets->{'crop_enable_check'}->set_active(1);
393 $widgets->{'crop_enable_check'}->show;
396 $widgets->{'crop_vertical_adjust'} = new Gtk2::Adjustment( 0, 0, 720, 1, 50, 200 );
397 …$widgets->{'crop_vertical_spin'} = new Gtk2::SpinButton( $widgets->{'crop_vertical_adjust'}, 1, 0 …
398 …$widgets->{'video_table'}->attach( $widgets->{'crop_vertical_spin'}, 4, 5, 5, 6, [ 'expand', 'fill…
399 $widgets->{'crop_vertical_spin'}->show;
400 $widgets->{'crop_vertical_spin'}->set_size_request( 40, -1 );
403 $widgets->{'crop_horizontal_adjust'} = new Gtk2::Adjustment( 0, 0, 576, 1, 50, 200 );
404 …$widgets->{'crop_horizontal_spin'} = new Gtk2::SpinButton( $widgets->{'crop_horizontal_adjust'}, 1…
405 …$widgets->{'video_table'}->attach( $widgets->{'crop_horizontal_spin'}, 4, 5, 4, 5, [ 'expand', 'fi…
406 $widgets->{'crop_horizontal_spin'}->show;
407 $widgets->{'crop_horizontal_spin'}->set_size_request( 40, -1 );
410 $widgets->{'crop_width_adjust'} = new Gtk2::Adjustment( 0, 0, 1000, 1, 50, 200 );
411 $widgets->{'crop_width_spin'} = new Gtk2::SpinButton( $widgets->{'crop_width_adjust'}, 1, 0 );
412 …$widgets->{'video_table'}->attach( $widgets->{'crop_width_spin'}, 2, 3, 4, 5, [ 'expand', 'fill' ]…
413 $widgets->{'crop_width_spin'}->show;
414 $widgets->{'crop_width_spin'}->set_size_request( 40, -1 );
417 $widgets->{'crop_height_adjust'} = new Gtk2::Adjustment( 0, 0, 1000, 1, 50, 200 );
418 $widgets->{'crop_height_spin'} = new Gtk2::SpinButton( $widgets->{'crop_height_adjust'}, 1, 0 );
419 …$widgets->{'video_table'}->attach( $widgets->{'crop_height_spin'}, 2, 3, 5, 6, [ 'expand', 'fill' …
420 $widgets->{'crop_height_spin'}->show;
421 $widgets->{'crop_height_spin'}->set_size_request( 40, -1 );
424 $widgets->{'crop_vertical_label'} = new Gtk2::Label(msg('Vert'));
425 …$widgets->{'video_table'}->attach( $widgets->{'crop_vertical_label'}, 3, 4, 5, 6, ['fill'], ['expa…
426 $widgets->{'crop_vertical_label'}->show;
429 $widgets->{'crop_horizontal_label'} = new Gtk2::Label(msg('Horiz'));
430 …$widgets->{'video_table'}->attach( $widgets->{'crop_horizontal_label'}, 3, 4, 4, 5, ['fill'], ['ex…
431 $widgets->{'crop_horizontal_label'}->show;
434 $widgets->{'crop_width_label'} = new Gtk2::Label(msg('Width'));
435 …$widgets->{'video_table'}->attach( $widgets->{'crop_width_label'}, 1, 2, 4, 5, ['fill'], ['expand'…
436 $widgets->{'crop_width_label'}->show;
439 $widgets->{'crop_height_label'} = new Gtk2::Label(msg('Height'));
440 …$widgets->{'video_table'}->attach( $widgets->{'crop_height_label'}, 1, 2, 5, 6, ['fill'], ['expand…
441 $widgets->{'crop_height_label'}->show;
444 $widgets->{'crop_detect_button'} = new Gtk2::Button(msg('Detect'));
445 …$widgets->{'video_table'}->attach( $widgets->{'crop_detect_button'}, 0, 1, 5, 6, ['fill'], ['expan…
446 $widgets->{'crop_detect_button'}->show;
448 $widgets->{'video_scale_seperator'} = new Gtk2::HSeparator;
449 $widgets->{'video_scale_seperator'}->show;
450 …$widgets->{'video_table'}->attach( $widgets->{'video_scale_seperator'}, 0, 5, 6, 7, ['fill'], ['ex…
453 $widgets->{'scale_enable_check'} = new Gtk2::CheckButton(msg('Scale'));
454 …$widgets->{'video_table'}->attach( $widgets->{'scale_enable_check'}, 0, 1, 7, 8, ['fill'], ['expan…
455 $widgets->{'scale_enable_check'}->set_active(1);
456 $widgets->{'scale_enable_check'}->show;
459 $widgets->{'scale_width_label'} = new Gtk2::Label(msg('Width'));
460 …$widgets->{'video_table'}->attach( $widgets->{'scale_width_label'}, 1, 2, 7, 8, ['fill'], ['expand…
461 $widgets->{'scale_width_label'}->show;
465 $widgets->{'scale_lock_check'} = new Gtk2::CheckButton(msg('Lock aspect'));
466 …$widgets->{'video_table'}->attach( $widgets->{'scale_lock_check'}, 3, 5, 7, 8, ['fill'], ['expand'…
467 $widgets->{'scale_lock_check'}->set_relief('none');
468 $widgets->{'scale_lock_check'}->show;
469 $widgets->{'scale_lock_check'}->set_active(1);
471 $widgets->{'scale_height_label'} = new Gtk2::Label(msg('Height'));
472 …$widgets->{'video_table'}->attach( $widgets->{'scale_height_label'}, 1, 2, 8, 9, ['fill'], ['expan…
473 $widgets->{'scale_height_label'}->show;
477 $widgets->{'scale_width_adjust'} = new Gtk2::Adjustment( 1, -2, 1000, 1, 50, 200 );
478 $widgets->{'scale_width_spin'} = new Gtk2::SpinButton( $widgets->{'scale_width_adjust'}, 1, 0 );
479 …$widgets->{'video_table'}->attach( $widgets->{'scale_width_spin'}, 2, 3, 7, 8, [ 'expand', 'fill' …
480 $widgets->{'scale_width_spin'}->show;
481 $widgets->{'scale_width_spin'}->set_size_request( 50, -1 );
485 $widgets->{'scale_height_adjust'} = new Gtk2::Adjustment( 123, -2, 1000, 1, 50, 200 );
486 $widgets->{'scale_height_spin'} = new Gtk2::SpinButton( $widgets->{'scale_height_adjust'}, 1, 0 );
487 …$widgets->{'video_table'}->attach( $widgets->{'scale_height_spin'}, 2, 3, 8, 9, [ 'expand', 'fill'…
488 $widgets->{'scale_height_spin'}->hide;
489 $widgets->{'scale_height_spin'}->set_size_request( 50, -1 );
491 $widgets->{'scale_height_estimate_entry'} = new Gtk2::Entry;
492 $widgets->{'scale_height_estimate_entry'}->set_text("0");
493 …$widgets->{'video_table'}->attach( $widgets->{'scale_height_estimate_entry'}, 2, 3, 8, 9, [ 'expan…
494 $widgets->{'scale_height_estimate_entry'}->set_editable(0);
495 $widgets->{'scale_height_estimate_entry'}->show;
496 $widgets->{'scale_height_estimate_entry'}->set_size_request( 50, -1 );
498 $widgets->{'video_filters_seperator'} = new Gtk2::HSeparator;
499 $widgets->{'video_filters_seperator'}->show;
500 …$widgets->{'video_table'}->attach( $widgets->{'video_filters_seperator'}, 0, 5, 9, 10, ['fill'], […
502 $widgets->{'vf_pre_enable_check'} = new Gtk2::CheckButton(msg("Pre filters"));
503 …$widgets->{'video_table'}->attach( $widgets->{'vf_pre_enable_check'}, 0, 2, 10, 11, [ 'expand', 'f…
504 $widgets->{'vf_pre_enable_check'}->set_active(1);
505 $widgets->{'vf_pre_enable_check'}->show;
507 $widgets->{'vf_pre_entry'} = new Gtk2::Entry;
508 $widgets->{'vf_pre_entry'}->set_size_request( 40, -1 );
509 …$widgets->{'video_table'}->attach( $widgets->{'vf_pre_entry'}, 2, 5, 10, 11, [ 'expand', 'fill' ],…
510 $widgets->{'vf_pre_entry'}->show;
512 $widgets->{'vf_post_enable_check'} = new Gtk2::CheckButton(msg("Post filters"));
513 …$widgets->{'video_table'}->attach( $widgets->{'vf_post_enable_check'}, 0, 2, 11, 12, [ 'expand', '…
514 $widgets->{'vf_post_enable_check'}->set_active(1);
515 $widgets->{'vf_post_enable_check'}->show;
517 $widgets->{'vf_post_entry'} = new Gtk2::Entry;
518 …$widgets->{'video_table'}->attach( $widgets->{'vf_post_entry'}, 2, 5, 11, 12, [ 'expand', 'fill' ]…
519 $widgets->{'vf_post_entry'}->show;
520 $widgets->{'vf_post_entry'}->set_size_request( 40, -1 );
523 $widgets->{'codec_label'} = new Gtk2::Label(msg('Codec'));
524 …$widgets->{'video_table'}->attach( $widgets->{'codec_label'}, 0, 1, 0, 1, ['fill'], ['expand'], 2,…
525 $widgets->{'codec_label'}->show;
526 $widgets->{'codec_label'}->set_alignment( 0, 0.5 );
530 $widgets->{'video_codec_option'} = new Gtk2::OptionMenu;
531 $widgets->{'video_codec_menu'} = new Gtk2::Menu;
532 $widgets->{'video_codec_option'}->set_menu( $widgets->{'video_codec_menu'} );
533 …$widgets->{'video_table'}->attach( $widgets->{'video_codec_option'}, 1, 3, 0, 1, [ 'expand', 'fill…
534 $widgets->{'video_codec_option'}->show;
535 $widgets->{'video_codec_option'}->set_size_request( 40, -1 );
539 $widgets->{'video_options_label'} = new Gtk2::Label(msg('Options'));
540 …$widgets->{'video_table'}->attach( $widgets->{'video_options_label'}, 0, 1, 1, 2, ['fill'], ['expa…
541 $widgets->{'video_options_label'}->show;
542 $widgets->{'video_options_label'}->set_alignment( 0, 0.5 );
546 $widgets->{'video_options_entry'} = new Gtk2::Entry;
547 …$widgets->{'video_table'}->attach( $widgets->{'video_options_entry'}, 1, 5, 1, 2, [ 'expand', 'fil…
548 $widgets->{'video_options_entry'}->show;
550 $widgets->{'video_bitrate_label'} = new Gtk2::Label(msg('Bitrate'));
551 $widgets->{'video_bitrate_label'}->show;
552 $widgets->{'video_bitrate_label'}->set_alignment( 0, 0.5 );
553 …$widgets->{'video_table'}->attach( $widgets->{'video_bitrate_label'}, 0, 1, 2, 3, ['fill'], ['expa…
555 $widgets->{'video_bitrate_entry'} = new Gtk2::Entry;
556 $widgets->{'video_bitrate_entry'}->set_editable(0);
557 $widgets->{'video_bitrate_entry'}->set_size_request( 50, -1 );
558 …$widgets->{'video_table'}->attach( $widgets->{'video_bitrate_entry'}, 1, 2, 2, 3, ['fill'], ['expa…
559 $widgets->{'video_bitrate_entry'}->show;
561 $widgets->{'video_bitrate_adjust'} = new Gtk2::Adjustment( 1, 1, 5000, 1, 50, 1 );
562 …$widgets->{'video_bitrate_spin'} = new Gtk2::SpinButton( $widgets->{'video_bitrate_adjust'}, 1, 0 …
563 …$widgets->{'video_table'}->attach( $widgets->{'video_bitrate_spin'}, 1, 2, 2, 3, ['fill'], ['expan…
566 $widgets->{'video_bitrate_spin'}->set_size_request( 50, -1 );
568 $widgets->{'video_bitrate_lock_check'} = new Gtk2::CheckButton(msg('Lock'));
569 $widgets->{'video_bitrate_lock_check'}->show;
570 …$widgets->{'video_table'}->attach( $widgets->{'video_bitrate_lock_check'}, 2, 3, 2, 3, ['fill'], […
572 $widgets->{'video_passes_adjust'} = new Gtk2::Adjustment( 1, 1, 3, 1, 1, 1 );
573 $widgets->{'video_passes_spin'} = new Gtk2::SpinButton( $widgets->{'video_passes_adjust'}, 1, 0 );
574 $widgets->{'video_passes_spin'}->show;
575 $widgets->{'video_passes_label'} = new Gtk2::Label(msg("Passes"));
576 $widgets->{'video_passes_label'}->show;
577 …$widgets->{'video_table'}->attach( $widgets->{'video_passes_label'}, 3, 4, 0, 1, ['fill'], ['expan…
578 …$widgets->{'video_table'}->attach( $widgets->{'video_passes_spin'}, 4, 5, 0, 1, ['fill'], ['expan…
580 $widgets->{'video_bpp_label'} = new Gtk2::Label(msg("Bits/Px"));
581 $widgets->{'video_bpp_label'}->show;
582 $widgets->{'video_bpp_entry'} = new Gtk2::Entry;
583 $widgets->{'video_bpp_entry'}->show;
584 $widgets->{'video_bpp_entry'}->set_editable(0);
585 $widgets->{'video_bpp_entry'}->set_size_request( 40, -1 );
586 …$widgets->{'video_table'}->attach( $widgets->{'video_bpp_label'}, 3, 4, 2, 3, ['fill'], ['expand']…
587 …$widgets->{'video_table'}->attach( $widgets->{'video_bpp_entry'}, 4, 5, 2, 3, ['fill'], ['expand']…
590 $widgets->{'right_vbox'} = new Gtk2::VBox( 0, 0 );
591 $widgets->{'main_hbox'}->add( $widgets->{'right_vbox'} );
592 $widgets->{'right_vbox'}->show;
604 $widgets->{'dvd_tree_frame'} = new Gtk2::Frame(msg('Video source'));
607 $widgets->{'right_vbox'}->add( $widgets->{'dvd_tree_frame'} );
610 $widgets->{'dvd_tree_frame'}->show;
611 $widgets->{'dvd_tree_frame'}->set_border_width(2);
615 $widgets->{'dvd_tree_vbox'} = new Gtk2::VBox( 0, 0 );
616 $widgets->{'dvd_tree_frame'}->add( $widgets->{'dvd_tree_vbox'} );
617 $widgets->{'dvd_tree_vbox'}->show;
621 $widgets->{'dvd_device_hbox'} = new Gtk2::HBox( 0, 0 );
622 $widgets->{'dvd_tree_vbox'}->add( $widgets->{'dvd_device_hbox'} );
623 $widgets->{'dvd_device_hbox'}->show;
627 $widgets->{'dvd_device_label'} = new Gtk2::Label(msg('Path'));
628 $widgets->{'dvd_device_hbox'}->add( $widgets->{'dvd_device_label'} );
629 $widgets->{'dvd_device_label'}->show;
630 $widgets->{'dvd_device_label'}->set_alignment( 0.5, 0.5 );
631 $widgets->{'dvd_device_label'}->set_padding( 2, 2 );
632 …$widgets->{'dvd_device_hbox'}->set_child_packing( $widgets->{'dvd_device_label'}, 0, 0, 0, 'start'…
636 $widgets->{'dvd_device_entry'} = new Gtk2::Entry;
637 $widgets->{'dvd_device_hbox'}->add( $widgets->{'dvd_device_entry'} );
638 $widgets->{'dvd_device_entry'}->show;
639 $widgets->{'dvd_device_entry'}->set_size_request( 100, -1 );
640 …$widgets->{'dvd_device_hbox'}->set_child_packing( $widgets->{'dvd_device_entry'}, 1, 1, 0, 'start'…
644 $widgets->{'read_dvd_button'} = Gtk2::Button->new_from_stock('ar_load');
645 $widgets->{'dvd_device_hbox'}->add( $widgets->{'read_dvd_button'} );
646 $widgets->{'read_dvd_button'}->show;
647 $widgets->{'read_dvd_button'}->set_border_width(2);
648 …$widgets->{'dvd_device_hbox'}->set_child_packing( $widgets->{'read_dvd_button'}, 1, 1, 0, 'start' …
649 …$widgets->{'dvd_tree_vbox'}->set_child_packing( $widgets->{'dvd_device_hbox'}, 0, 0, 0, 'start' …
653 $widgets->{'tree_scroll_window'} = new Gtk2::ScrolledWindow( undef, undef );
654 $widgets->{'tree_scroll_window'}->set_policy( 'automatic', 'always' );
655 $widgets->{'tree_scroll_window'}->set_border_width(2);
656 $widgets->{'tree_scroll_window'}->set_shadow_type('in');
657 $widgets->{'dvd_tree_vbox'}->add( $widgets->{'tree_scroll_window'} );
658 $widgets->{'tree_scroll_window'}->show;
662 $widgets->{'dvd_tree'} = new Gtk2::TreeView;
663 $widgets->{'dvd_tree'}->set_headers_visible(0);
664 $widgets->{'tree_scroll_window'}->add( $widgets->{'dvd_tree'} );
665 $widgets->{'dvd_tree'}->show;
666 $widgets->{'dvd_tree'}->set_size_request( 200, 0 );
667 …$widgets->{'dvd_tree_vbox'}->set_child_packing( $widgets->{'tree_scroll_window'}, 1, 1, 0, 'start'…
668 …$widgets->{'right_vbox'}->set_child_packing( $widgets->{'dvd_tree_frame'}, 1, 1, 0, 'start'…
670 $widgets->{'selected_track_label'} = new Gtk2::Label(msg("No track selected"));
671 $widgets->{'dvd_tree_vbox'}->pack_end( $widgets->{'selected_track_label'}, 0, 1, 2 );
672 $widgets->{'selected_track_label'}->show;
673 $widgets->{'selected_track_label'}->set_alignment( 0, 0 );
677 $widgets->{'cache_menc_vbox'} = new Gtk2::VBox();
678 $widgets->{'right_vbox'}->pack_start( $widgets->{'cache_menc_vbox'}, 0, 0, 0 );
679 $widgets->{'cache_menc_vbox'}->show;
684 $widgets->{'cache_frame'} = new Gtk2::Frame(msg('Cache status'));
685 $widgets->{'cache_menc_vbox'}->pack_start( $widgets->{'cache_frame'}, 0, 0, 2 );
686 $widgets->{'cache_frame'}->show;
687 $widgets->{'cache_frame'}->set_border_width(2);
691 $widgets->{'cache_table'} = new Gtk2::Table( 1, 4, 1 );
692 $widgets->{'cache_frame'}->add( $widgets->{'cache_table'} );
693 $widgets->{'cache_table'}->show;
695 $widgets->{'cache_chapter_label'} = new Gtk2::Label(msg('Chapter:'));
696 $widgets->{'cache_chapter_label'}->show;
697 $widgets->{'cache_chapter_label'}->set_alignment( 0, 0.5 );
698 …$widgets->{'cache_table'}->attach( $widgets->{'cache_chapter_label'}, 0, 1, 0, 1, ['fill'], [], 2,…
700 $widgets->{'cache_chapter'} = new Gtk2::Label("0 (0/0)");
701 $widgets->{'cache_chapter'}->show;
702 …$widgets->{'cache_table'}->attach( $widgets->{'cache_chapter'}, 1, 2, 0, 1, [ 'fill', 'expand' ], …
704 $widgets->{'cache_size_label'} = new Gtk2::Label(msg("Size:"));
705 $widgets->{'cache_size_label'}->show;
706 $widgets->{'cache_size_label'}->set_alignment( 0, 0.5 );
707 …$widgets->{'cache_table'}->attach( $widgets->{'cache_size_label'}, 2, 3, 0, 1, [ 'fill', 'expand' …
709 $widgets->{'cache_size'} = new Gtk2::Label("0mb");
710 $widgets->{'cache_size'}->show;
711 …$widgets->{'cache_table'}->attach( $widgets->{'cache_size'}, 3, 4, 0, 1, [ 'fill', 'expand' ], [],…
716 $widgets->{'menc_frame'} = new Gtk2::Frame(msg('Encoding status'));
717 $widgets->{'cache_menc_vbox'}->add( $widgets->{'menc_frame'} );
720 $widgets->{'menc_frame'}->show;
721 $widgets->{'menc_frame'}->set_border_width(2);
725 $widgets->{'mencoder_table'} = new Gtk2::Table( 6, 2, 0 );
726 $widgets->{'menc_frame'}->add( $widgets->{'mencoder_table'} );
727 $widgets->{'mencoder_table'}->show;
731 $widgets->{'menc_fps_label'} = new Gtk2::Label(msg('Encoding speed:'));
732 …$widgets->{'mencoder_table'}->attach( $widgets->{'menc_fps_label'}, 0, 1, 1, 2, ['fill'], [], 2, 1…
733 $widgets->{'menc_fps_label'}->show;
734 $widgets->{'menc_fps_label'}->set_alignment( 0, 0.5 );
738 $widgets->{'menc_time_label'} = new Gtk2::Label(msg('Real time left:'));
739 …$widgets->{'mencoder_table'}->attach( $widgets->{'menc_time_label'}, 0, 1, 0, 1, ['fill'], [], 2, …
740 $widgets->{'menc_time_label'}->show;
741 $widgets->{'menc_time_label'}->set_alignment( 0, 0.5 );
745 $widgets->{'menc_filesize_label'} = new Gtk2::Label(msg('Estimated filesize:'));
746 …$widgets->{'mencoder_table'}->attach( $widgets->{'menc_filesize_label'}, 0, 1, 2, 3, ['fill'], [],…
747 $widgets->{'menc_filesize_label'}->show;
748 $widgets->{'menc_filesize_label'}->set_alignment( 0, 0.5 );
752 $widgets->{'menc_progress_label'} = new Gtk2::Label(msg('Time encoded:'));
753 …$widgets->{'mencoder_table'}->attach( $widgets->{'menc_progress_label'}, 0, 1, 3, 4, ['fill'], [],…
754 $widgets->{'menc_progress_label'}->show;
755 $widgets->{'menc_progress_label'}->set_alignment( 0, 0.5 );
759 $widgets->{'menc_seconds'} = new Gtk2::Label('0:00:00');
760 …$widgets->{'mencoder_table'}->attach( $widgets->{'menc_seconds'}, 1, 2, 3, 4, [ 'expand', 'fill' ]…
761 $widgets->{'menc_seconds'}->show;
762 $widgets->{'menc_seconds'}->set_alignment( 0.5, 0.5 );
766 $widgets->{'menc_bitrate_label'} = new Gtk2::Label(msg('Average bitrates:'));
767 …$widgets->{'mencoder_table'}->attach( $widgets->{'menc_bitrate_label'}, 0, 1, 4, 5, ['fill'], [], …
768 $widgets->{'menc_bitrate_label'}->show;
769 $widgets->{'menc_bitrate_label'}->set_alignment( 0, 0.5 );
771 $widgets->{'menc_bitrate'} = new Gtk2::Label('0:0');
772 …$widgets->{'mencoder_table'}->attach( $widgets->{'menc_bitrate'}, 1, 2, 4, 5, [ 'expand', 'fill' ]…
773 $widgets->{'menc_bitrate'}->show;
774 $widgets->{'menc_bitrate'}->set_alignment( 0.5, 0.5 );
778 $widgets->{'menc_filesize'} = new Gtk2::Label('0mb');
779 …$widgets->{'mencoder_table'}->attach( $widgets->{'menc_filesize'}, 1, 2, 2, 3, [ 'expand', 'fill' …
780 $widgets->{'menc_filesize'}->show;
781 $widgets->{'menc_filesize'}->set_alignment( 0.5, 0.5 );
785 $widgets->{'menc_fps'} = new Gtk2::Label('0fps');
786 …$widgets->{'mencoder_table'}->attach( $widgets->{'menc_fps'}, 1, 2, 1, 2, [ 'expand', 'fill' ], []…
787 $widgets->{'menc_fps'}->show;
788 $widgets->{'menc_fps'}->set_alignment( 0.5, 0.5 );
792 $widgets->{'menc_time'} = new Gtk2::Label('0min');
793 …$widgets->{'mencoder_table'}->attach( $widgets->{'menc_time'}, 1, 2, 0, 1, [ 'expand', 'fill' ], […
794 $widgets->{'menc_time'}->show;
795 $widgets->{'menc_time'}->set_alignment( 0.5, 0.5 );
799 $widgets->{'menc_progress'} = new Gtk2::ProgressBar;
800 $widgets->{'menc_progress'}->set_orientation('left_to_right');
801 …$widgets->{'mencoder_table'}->attach( $widgets->{'menc_progress'}, 0, 2, 5, 6, ['fill'], [], 2, 2 …
802 $widgets->{'menc_progress'}->show;
803 $widgets->{'right_vbox'}->set_child_packing( $widgets->{'menc_frame'}, 0, 1, 0, 'start' );
805 $widgets->{'control_table'} = new Gtk2::Table( 2, 2, 1 );
806 $widgets->{'control_table'}->show;
808 $widgets->{'right_vbox'}->pack_end( $widgets->{'control_table'}, 0, 1, 0 );
809 $widgets->{'right_vbox'}->set_child_packing( $widgets->{'control_table'}, 0, 1, 0, 'start' );
814 $widgets->{'buttons_table'} = new Gtk2::Table( 2, 2, 1 );
815 $widgets->{'buttons_frame'} = new Gtk2::Frame;
816 $widgets->{'buttons_frame'}->set_border_width(2);
817 $widgets->{'buttons_frame'}->add( $widgets->{'buttons_table'} );
818 $widgets->{'left_vbox'}->add( $widgets->{'buttons_frame'} );
819 $widgets->{'buttons_frame'}->show_all;
823 $widgets->{'quit_button'} = Gtk2::Button->new_from_stock('ar_quit');
824 …$widgets->{'buttons_table'}->attach( $widgets->{'quit_button'}, 1, 2, 1, 2, [ 'expand', 'fill' ], …
825 $widgets->{'quit_button'}->show;
829 $widgets->{'progress_dialog_show_button'} = Gtk2::Button->new_from_stock('ar_compact');
830 …$widgets->{'buttons_table'}->attach( $widgets->{'progress_dialog_show_button'}, 0, 1, 1, 2, [ 'exp…
831 $widgets->{'progress_dialog_show_button'}->show;
832 $widgets->{'progress_dialog_show_button'}->set_sensitive(0);
836 $widgets->{'start_button'} = Gtk2::Button->new_from_stock('ar_start');
837 …$widgets->{'buttons_table'}->attach( $widgets->{'start_button'}, 1, 2, 0, 1, [ 'expand', 'fill' ],…
838 $widgets->{'start_button'}->show;
839 $widgets->{'start_button'}->set_sensitive(0);
843 $widgets->{'stop_button'} = Gtk2::Button->new_from_stock('ar_stop');
844 …$widgets->{'buttons_table'}->attach( $widgets->{'stop_button'}, 1, 2, 0, 1, [ 'expand', 'fill' ], …
848 $widgets->{'view_button'} = Gtk2::Button->new_from_stock('ar_view');
852 $widgets->{'view_button'}->set_sensitive(0);
857 $widgets->{'queue_button'} = Gtk2::Button->new_from_stock('ar_queue');
858 …$widgets->{'buttons_table'}->attach( $widgets->{'queue_button'}, 0, 1, 0, 1, [ 'expand', 'fill' ],…
859 $widgets->{'queue_button'}->show;
860 $widgets->{'queue_button'}->set_sensitive(0);
861 $widgets->{'main_hbox'}->set_child_packing( $widgets->{'right_vbox'}, 1, 1, 0, 'end' );
865 $widgets->{'preview_frame'} = new Gtk2::Frame(msg("Preview"));
866 $widgets->{'preview_frame'}->set_border_width(2);
867 $widgets->{'preview_table'} = new Gtk2::Table( 2, 6, 0 );
868 $widgets->{'preview_table'}->set_row_spacings($row_height);
869 $widgets->{'preview_frame'}->add( $widgets->{'preview_table'} );
870 …$widgets->{'notebook'}->append_page( $widgets->{'preview_frame'}, new Gtk2::Label(msg("Preview")));
871 $widgets->{'preview_socket'} = new Gtk2::Socket;
872 $widgets->{'preview_socket_frame'} = new Gtk2::Frame;
873 $widgets->{'preview_socket_frame'}->set_shadow_type(GTK_SHADOW_IN);
874 $widgets->{'preview_socket_frame'}->add( $widgets->{'preview_socket'} );
875 …$widgets->{'preview_table'}->attach( $widgets->{'preview_socket_frame'}, 0, 2, 0, 1, [ 'expand', '…
876 $widgets->{'preview_socket'}->realize;
877 …$widgets->{'preview_table'}->attach( new Gtk2::VBox, 0, 2, 1, 2, [ 'expand', 'fill' ], [ 'expand',…
878 …$widgets->{'preview_table'}->attach( new Gtk2::HSeparator, 0, 2, 2, 3, [ 'expand', 'fill' ], [], 2…
882 $widgets->{'preview_logo'} = new_from_file Gtk2::Image( $dirname . "/logo.png" );
883 …$widgets->{'preview_table'}->attach( $widgets->{'preview_logo'}, 0, 2, 0, 1, [ 'expand', 'fill' ],…
887 $widgets->{'preview_button'} = Gtk2::Button->new_from_stock('ar_preview');
888 $widgets->{'preview_button'}->set_sensitive(0);
889 …$widgets->{'preview_table'}->attach( $widgets->{'preview_button'}, 0, 1, 4, 5, [ 'expand', 'fill' …
893 $widgets->{'stop_preview_button'} = Gtk2::Button->new_from_stock('ar_stop');
894 …$widgets->{'preview_table'}->attach( $widgets->{'stop_preview_button'}, 0, 1, 4, 5, [ 'expand', 'f…
898 $widgets->{'flickbook_preview_check'} = new Gtk2::CheckButton(msg("Flickbook"));
899 …$widgets->{'preview_table'}->attach( $widgets->{'flickbook_preview_check'}, 1, 2, 3, 4, ['fill'], …
902 $widgets->{'embed_preview_check'} = new Gtk2::CheckButton(msg("Embed"));
903 …$widgets->{'preview_table'}->attach( $widgets->{'embed_preview_check'}, 0, 1, 3, 4, ['fill'], [], …
904 …$widgets->{'preview_table'}->attach( $widgets->{'view_button'}, 1, 2, 4, 5, [ 'expand', 'fill' ], …
905 $widgets->{'view_button'}->show;
907 $widgets->{'preview_frame'}->show_all;
908 $widgets->{'preview_socket_frame'}->hide;
912 $widgets->{'queue_frame'} = new Gtk2::Frame(msg("Queue"));
913 $widgets->{'queue_frame'}->set_border_width(2);
914 $widgets->{'queue_table'} = new Gtk2::Table( 2, 1, 0 );
915 $widgets->{'queue_table'}->set_row_spacings($row_height);
916 $widgets->{'queue_frame'}->add( $widgets->{'queue_table'} );
917 $widgets->{'notebook'}->append_page( $widgets->{'queue_frame'}, new Gtk2::Label(msg("Queue")) );
919 $widgets->{'queue_text'} = new Gtk2::TextView;
920 $widgets->{'queue_text'}->set_editable(0);
921 $widgets->{'queue_scroll'} = new Gtk2::ScrolledWindow( undef, undef );
922 $widgets->{'queue_scroll'}->set_policy( 'automatic', 'automatic' );
923 $widgets->{'queue_scroll'}->set_size_request( -1, 150 );
924 $widgets->{'queue_scroll'}->add( $widgets->{'queue_text'} );
925 $widgets->{'queue_text_frame'} = new Gtk2::Frame;
926 $widgets->{'queue_text_frame'}->add( $widgets->{'queue_scroll'} );
927 $widgets->{'queue_text_frame'}->set_shadow_type(GTK_SHADOW_IN);
928 …$widgets->{'queue_table'}->attach( $widgets->{'queue_text_frame'}, 0, 2, 0, 1, [ 'expand', 'fill' …
931 $widgets->{'queue_clear_button'} = Gtk2::Button->new_from_stock('ar_clear');
932 $widgets->{'queue_clear_button'}->set_sensitive(0);
933 …$widgets->{'queue_table'}->attach( $widgets->{'queue_clear_button'}, 0, 1, 1, 2, [ 'expand', 'fill…
936 $widgets->{'queue_export_button'} = Gtk2::Button->new_from_stock('ar_export');
937 $widgets->{'queue_export_button'}->set_sensitive(0);
938 …$widgets->{'queue_table'}->attach( $widgets->{'queue_export_button'}, 1, 2, 1, 2, [ 'expand', 'fil…
940 $widgets->{'queue_frame'}->show_all;
945 $widgets->{'additional_settings_frame'} = new Gtk2::Frame(msg("Settings"));
946 $widgets->{'additional_settings_frame'}->show;
947 $widgets->{'additional_settings_frame'}->set_border_width(2);
948 …$widgets->{'notebook'}->append_page( $widgets->{'additional_settings_frame'}, new Gtk2::Label(msg(…
952 …$widgets->{'additional_settings_vbox'} = new Gtk2::VBox; #$widgets->{'additional_settings_dialo…
953 $widgets->{'additional_settings_frame'}->add( $widgets->{'additional_settings_vbox'} );
954 $widgets->{'additional_settings_vbox'}->show;
958 $widgets->{'additional_settings_table'} = new Gtk2::Table( 11, 4, 0 );
959 $widgets->{'additional_settings_vbox'}->add( $widgets->{'additional_settings_table'} );
960 $widgets->{'additional_settings_table'}->show;
961 $widgets->{'additional_settings_table'}->set_row_spacings($row_height);
965 $widgets->{'tooltips_check'} = new Gtk2::CheckButton(msg('Use tooltips'));
969 $widgets->{'shutdown_check'} = new Gtk2::CheckButton(msg('Shutdown'));
970 …$widgets->{'additional_settings_table'}->attach( $widgets->{'shutdown_check'}, 2, 4, 6, 7, ['fill'…
971 $widgets->{'shutdown_check'}->show;
975 $widgets->{'autoload_check'} = new Gtk2::CheckButton(msg('Autoload media'));
976 …$widgets->{'additional_settings_table'}->attach( $widgets->{'autoload_check'}, 0, 2, 5, 6, ['fill'…
977 $widgets->{'autoload_check'}->show;
981 $widgets->{'precache_check'} = new Gtk2::CheckButton(msg('Pre-cache video'));
982 …$widgets->{'additional_settings_table'}->attach( $widgets->{'precache_check'}, 2, 4, 5, 6, ['fill'…
983 $widgets->{'precache_check'}->show;
987 $widgets->{'del_cache_check'} = new Gtk2::CheckButton(msg('Delete cache'));
988 …$widgets->{'additional_settings_table'}->attach( $widgets->{'del_cache_check'}, 2, 4, 4, 5, ['fill…
989 $widgets->{'del_cache_check'}->show;
993 $widgets->{'overwrite_check'} = new Gtk2::CheckButton(msg('Overwrite files'));
994 …$widgets->{'additional_settings_table'}->attach( $widgets->{'overwrite_check'}, 0, 2, 6, 7, ['fill…
995 $widgets->{'overwrite_check'}->show;
999 $widgets->{'mencoder_label'} = new Gtk2::Label('MEncoder:');
1000 …$widgets->{'additional_settings_table'}->attach( $widgets->{'mencoder_label'}, 0, 2, 0, 1, ['fill'…
1001 $widgets->{'mencoder_label'}->show;
1002 $widgets->{'mencoder_label'}->set_alignment( 0, 0.5 );
1006 $widgets->{'mencoder_entry'} = new Gtk2::Entry;
1007 $widgets->{'mencoder_entry'}->set_size_request( 40, -1 );
1008 …$widgets->{'additional_settings_table'}->attach( $widgets->{'mencoder_entry'}, 2, 4, 0, 1, [ 'expa…
1009 $widgets->{'mencoder_entry'}->show;
1013 $widgets->{'mplayer_label'} = new Gtk2::Label('MPlayer:');
1014 …$widgets->{'additional_settings_table'}->attach( $widgets->{'mplayer_label'}, 0, 2, 1, 2, ['fill']…
1015 $widgets->{'mplayer_label'}->show;
1016 $widgets->{'mplayer_label'}->set_alignment( 0, 0.5 );
1020 $widgets->{'mplayer_entry'} = new Gtk2::Entry;
1021 $widgets->{'mplayer_entry'}->set_size_request( 40, -1 );
1022 …$widgets->{'additional_settings_table'}->attach( $widgets->{'mplayer_entry'}, 2, 4, 1, 2, [ 'expan…
1023 $widgets->{'mplayer_entry'}->show;
1027 $widgets->{'lsdvd_label'} = new Gtk2::Label('lsdvd:');
1028 …$widgets->{'additional_settings_table'}->attach( $widgets->{'lsdvd_label'}, 0, 2, 2, 3, ['fill'], …
1029 $widgets->{'lsdvd_label'}->show;
1030 $widgets->{'lsdvd_label'}->set_alignment( 0, 0.5 );
1034 $widgets->{'lsdvd_entry'} = new Gtk2::Entry;
1035 $widgets->{'lsdvd_entry'}->set_size_request( 40, -1 );
1036 …$widgets->{'additional_settings_table'}->attach( $widgets->{'lsdvd_entry'}, 2, 4, 2, 3, [ 'expand'…
1037 $widgets->{'lsdvd_entry'}->show;
1041 $widgets->{'cache_check'} = new Gtk2::CheckButton(msg("Cache DVD"));
1042 …$widgets->{'additional_settings_table'}->attach( $widgets->{'cache_check'}, 0, 2, 4, 5, ['fill'], …
1043 $widgets->{'cache_check'}->show;
1047 $widgets->{'cache_label'} = new Gtk2::Label(msg('Cache:'));
1048 …$widgets->{'additional_settings_table'}->attach( $widgets->{'cache_label'}, 0, 2, 3, 4, ['fill'], …
1049 $widgets->{'cache_label'}->show;
1050 $widgets->{'cache_label'}->set_alignment( 0, 0.5 );
1054 $widgets->{'cache_directory_entry'} = new Gtk2::Entry;
1055 $widgets->{'cache_directory_entry'}->set_size_request( 40, -1 );
1056 …$widgets->{'additional_settings_table'}->attach( $widgets->{'cache_directory_entry'}, 2, 4, 3, 4, …
1057 $widgets->{'cache_directory_entry'}->show;
1061 $widgets->{'language_label'} = new Gtk2::Label(msg("Language:"));
1062 …$widgets->{'additional_settings_table'}->attach( $widgets->{'language_label'}, 0, 2, 9, 10, ['fill…
1063 $widgets->{'language_label'}->set_alignment( 0, 0.5 );
1064 $widgets->{'language_label'}->set_size_request( 1, -1 );
1065 $widgets->{'language_label'}->show;
1069 $widgets->{'language_entry'} = new Gtk2::Entry;
1070 …$widgets->{'additional_settings_table'}->attach( $widgets->{'language_entry'}, 2, 4, 9, 10, ['fill…
1071 $widgets->{'language_entry'}->set_size_request( 10, -1 );
1072 $widgets->{'language_entry'}->show;
1076 $widgets->{'compact_check'} = new Gtk2::CheckButton(msg("Compact box"));
1077 …$widgets->{'additional_settings_table'}->attach( $widgets->{'compact_check'}, 0, 2, 7, 8, ['fill']…
1078 $widgets->{'compact_check'}->show;
1082 $widgets->{'enforce_space_check'} = new Gtk2::CheckButton(msg("Enforce size"));
1083 …$widgets->{'additional_settings_table'}->attach( $widgets->{'enforce_space_check'}, 2, 4, 7, 8, ['…
1084 $widgets->{'enforce_space_check'}->show;
1088 $widgets->{'ppc_bug_check'} = new Gtk2::CheckButton(msg("PPC cropping"));
1089 …$widgets->{'additional_settings_table'}->attach( $widgets->{'ppc_bug_check'}, 0, 2, 8, 9, ['fill']…
1090 $widgets->{'ppc_bug_check'}->show;
1094 $widgets->{'eject_check'} = new Gtk2::CheckButton(msg("Eject DVD"));
1095 …$widgets->{'additional_settings_table'}->attach( $widgets->{'eject_check'}, 2, 4, 8, 9, ['fill'], …
1096 $widgets->{'eject_check'}->show;
1099 $widgets->{'vcd_type_label'} = new Gtk2::Label("VCD");
1102 …$widgets->{'additional_settings_table'}->attach( $widgets->{'vcd_type_label'}, 0, 1, 9, 10, [ 'exp…
1104 $widgets->{'vcd_type_option'} = new Gtk2::OptionMenu;
1105 $widgets->{'vcd_type_menu'} = new Gtk2::Menu;
1106 $widgets->{'vcd_type_option'}->set_menu( $widgets->{'vcd_type_menu'} );
1107 $widgets->{'vcd_type_menu'}->append( new Gtk2::MenuItem("VCD") );
1108 $widgets->{'vcd_type_menu'}->append( new Gtk2::MenuItem("SVCD") );
1109 $widgets->{'vcd_type_menu'}->append( new Gtk2::MenuItem("XVCD") );
1110 $widgets->{'vcd_type_menu'}->append( new Gtk2::MenuItem("KVCD") );
1113 …$widgets->{'additional_settings_table'}->attach( $widgets->{'vcd_type_option'}, 1, 2, 9, 10, [ 'ex…
1115 $widgets->{'vcd_format_label'} = new Gtk2::Label("");
1118 …$widgets->{'additional_settings_table'}->attach( $widgets->{'vcd_format_label'}, 2, 3, 9, 10, [ 'e…
1120 $widgets->{'vcd_format_option'} = new Gtk2::OptionMenu;
1121 $widgets->{'vcd_format_menu'} = new Gtk2::Menu;
1122 $widgets->{'vcd_format_option'}->set_menu( $widgets->{'vcd_format_menu'} );
1123 $widgets->{'vcd_format_menu'}->append( new Gtk2::MenuItem("PAL") );
1124 $widgets->{'vcd_format_menu'}->append( new Gtk2::MenuItem("NTSC") );
1127 …$widgets->{'additional_settings_table'}->attach( $widgets->{'vcd_format_option'}, 3, 4, 9, 10, [ '…
1131 $widgets->{'save_button'} = Gtk2::Button->new_from_stock('gtk-save');
1132 …$widgets->{'additional_settings_table'}->attach( $widgets->{'save_button'}, 0, 2, 10, 11, [ 'expan…
1133 $widgets->{'save_button'}->show;
1136 $widgets->{'restore_button'} = Gtk2::Button->new_from_stock('gtk-revert-to-saved');
1137 …$widgets->{'additional_settings_table'}->attach( $widgets->{'restore_button'}, 2, 4, 10, 11, [ 'ex…
1138 $widgets->{'restore_button'}->show;
1140 $widgets->{'main_hbox'}->set_child_packing( $widgets->{'left_vbox'}, 1, 1, 0, 'start' );
1145 $widgets->{'mencoder_output_frame'} = new Gtk2::Frame(msg("Output log"));
1146 $widgets->{'mencoder_output_frame'}->set_border_width(2);
1147 $widgets->{'status_vbox'}->add( $widgets->{'mencoder_output_frame'} );
1149 $widgets->{'output_vbox'} = new Gtk2::VBox;
1150 $widgets->{'output_vbox'}->show;
1154 $widgets->{'mencoder_output_table'} = new Gtk2::Table( 4, 1, 0 );
1155 $widgets->{'mencoder_output_frame'}->add( $widgets->{'output_vbox'} );
1156 $widgets->{'output_vbox'}->pack_start( $widgets->{'mencoder_output_table'}, 0, 0, 2 );
1160 $widgets->{'mencoder_output_save_button'} = Gtk2::Button->new_from_stock('ar_log_save');
1161 …$widgets->{'mencoder_output_table'}->attach( $widgets->{'mencoder_output_save_button'}, 0, 1, 0, 1…
1163 $widgets->{'mencoder_output_clear_button'} = Gtk2::Button->new_from_stock('ar_clear');
1164 …$widgets->{'mencoder_output_table'}->attach( $widgets->{'mencoder_output_clear_button'}, 2, 3, 0, …
1166 $widgets->{'mencoder_output_hide_button'} = Gtk2::Button->new_from_stock('ar_log_hide');
1167 …$widgets->{'mencoder_output_table'}->attach( $widgets->{'mencoder_output_hide_button'}, 3, 4, 0, 1…
1170 $widgets->{'mencoder_output_text'} = new Gtk2::TextView;
1171 $widgets->{'mencoder_output_text'}->set_wrap_mode('word');
1172 $widgets->{'mencoder_output_text'}->set_editable(0);
1173 $widgets->{'mencoder_output_scroll'} = new Gtk2::ScrolledWindow( undef, undef );
1175 $widgets->{'mencoder_output_scroll'}->set_policy( 'automatic', 'always' );
1176 $widgets->{'mencoder_output_scroll'}->set_size_request( -1, 150 );
1177 $widgets->{'mencoder_output_scroll'}->add( $widgets->{'mencoder_output_text'} );
1179 $widgets->{'mencoder_output_scroll'}->set_shadow_type(GTK_SHADOW_IN);
1180 $widgets->{'output_vbox'}->pack_start( $widgets->{'mencoder_output_scroll'}, 1, 1, 2 );
1181 $widgets->{'mencoder_output_scroll'}->show_all;
1183 $widgets->{'mencoder_output_text'}->get_buffer->create_tag( "error", 'foreground' => "red" );
1184 …$widgets->{'mencoder_output_text'}->get_buffer->create_tag( "lsdvd", 'foreground' => 'white', 'siz…
1185 …$widgets->{'mencoder_output_text'}->get_buffer->create_tag( "mplayer", 'foreground' => "darkgrey",…
1190 $widgets->{'status_hbox'} = new Gtk2::HBox;
1191 $widgets->{'status_hbox'}->show;
1192 $widgets->{'status_vbox'}->add( $widgets->{'status_hbox'} );
1193 $widgets->{'status_bar'} = new Gtk2::Statusbar;
1194 $widgets->{'status_hbox'}->pack_start( $widgets->{'status_bar'}, 1, 1, 2 );
1195 $widgets->{'status_bar'}->show;
1198 $widgets->{'mencoder_output_show_button'} = Gtk2::Button->new(msg("Debug"));
1199 $widgets->{'mencoder_output_show_button'}->show;
1200 $widgets->{'status_hbox'}->pack_end( $widgets->{'mencoder_output_show_button'}, 0, 1, 2 );
1204 $widgets->{'progress_dialog'} = new Gtk2::Dialog;
1205 $widgets->{'progress_dialog'}->set_title(msg('acidrip'));
1206 $widgets->{'progress_dialog'}->set_resizable(0);
1207 $widgets->{'progress_dialog'}->set_modal(1);
1208 $widgets->{'progress_dialog'}->realize;
1211 $widgets->{'progress_vbox'} = $widgets->{'progress_dialog'}->vbox;
1212 $widgets->{'progress_vbox'}->show;
1215 $widgets->{'progress_action_area'} = $widgets->{'progress_dialog'}->action_area;
1216 $widgets->{'progress_action_area'}->show;
1217 $widgets->{'progress_action_area'}->set_border_width(10);
1219 $widgets->{'progress_dialog_hide_button'} = new Gtk2::Button(msg("Full view"));
1220 $widgets->{'progress_dialog_hide_button'}->show;
1221 …$widgets->{'progress_action_area'}->pack_end( $widgets->{'progress_dialog_hide_button'}, 0, 1, 0 );
1225 $widgets->{'tooltips'} = new Gtk2::Tooltips();
1226 $widgets->{'tooltips'}->set_tip( $widgets->{'scale_width_spin'}, msg('scale_width_spin'));
1227 …$widgets->{'tooltips'}->set_tip( $widgets->{'scale_height_spin'}, msg('scale_height_spin'));
1228 $widgets->{'tooltips'}->set_tip( $widgets->{'crop_width_spin'}, msg('crop_width_spin'));
1229 $widgets->{'tooltips'}->set_tip( $widgets->{'crop_height_spin'}, msg('crop_height_spin'));
1230 …$widgets->{'tooltips'}->set_tip( $widgets->{'crop_vertical_spin'}, msg('crop_vertical_spin')…
1231 …$widgets->{'tooltips'}->set_tip( $widgets->{'crop_horizontal_spin'}, msg('crop_horizontal_spin…
1232 …$widgets->{'tooltips'}->set_tip( $widgets->{'crop_enable_check'}, msg('crop_enable_check'));
1233 …$widgets->{'tooltips'}->set_tip( $widgets->{'scale_enable_check'}, msg('scale_enable_check')…
1234 …$widgets->{'tooltips'}->set_tip( $widgets->{'crop_detect_button'}, msg('crop_detect_button')…
1235 …$widgets->{'tooltips'}->set_tip( $widgets->{'video_codec_option'}, msg('video_codec_option')…
1236 …$widgets->{'tooltips'}->set_tip( $widgets->{'video_options_entry'}, msg('video_options_entry'…
1237 …$widgets->{'tooltips'}->set_tip( $widgets->{'video_bitrate_entry'}, msg('video_bitrate_entry'…
1238 $widgets->{'tooltips'}->set_tip( $widgets->{'subp_option'}, msg('subp_option') );
1239 $widgets->{'tooltips'}->set_tip( $widgets->{'read_dvd_button'}, msg('read_dvd_button') );
1240 …$widgets->{'tooltips'}->set_tip( $widgets->{'video_passes_spin'}, msg('video_passes_spin') …
1241 …$widgets->{'tooltips'}->set_tip( $widgets->{'dvd_device_entry'}, msg('dvd_device_entry') );
1242 $widgets->{'tooltips'}->set_tip( $widgets->{'autoload_check'}, msg('autoload_check') );
1243 $widgets->{'tooltips'}->set_tip( $widgets->{'overwrite_check'}, msg('overwrite_check') );
1244 …$widgets->{'tooltips'}->set_tip( $widgets->{'audio_codec_option'}, msg('audio_codec_option')…
1245 …$widgets->{'tooltips'}->set_tip( $widgets->{'audio_options_entry'}, msg('audio_options_entry'…
1246 …$widgets->{'tooltips'}->set_tip( $widgets->{'audio_track_option'}, msg('audio_track_option')…
1247 $widgets->{'tooltips'}->set_tip( $widgets->{'filename_entry'}, msg('filename_entry') );
1248 $widgets->{'tooltips'}->set_tip( $widgets->{'filesize_spin'}, msg('filesize_spin') );
1249 $widgets->{'tooltips'}->set_tip( $widgets->{'save_button'}, msg('save_button') );
1250 $widgets->{'tooltips'}->set_tip( $widgets->{'restore_button'}, msg('restore_button') );
1251 $widgets->{'tooltips'}->set_tip( $widgets->{'start_button'}, msg('start_button') );
1252 $widgets->{'tooltips'}->set_tip( $widgets->{'stop_button'}, msg('stop_button') );
1253 $widgets->{'tooltips'}->set_tip( $widgets->{'view_button'}, msg('view_button') );
1254 $widgets->{'tooltips'}->set_tip( $widgets->{'dvd_tree'}, msg('dvd_tree') );
1255 …$widgets->{'tooltips'}->set_tip( $widgets->{'mencoder_output_show_button'}, msg('mencoder_output_s…
1256 …$widgets->{'tooltips'}->set_tip( $widgets->{'mencoder_output_hide_button'}, msg('mencoder_output_h…
1257 …$widgets->{'tooltips'}->set_tip( $widgets->{'mencoder_output_save_button'}, msg('mencoder_output_s…
1258 …$widgets->{'tooltips'}->set_tip( $widgets->{'video_bitrate_lock_check'}, msg('video_bitrate_loc…
1259 …$widgets->{'tooltips'}->set_tip( $widgets->{'scale_lock_check'}, msg('scale_lock_check'…
1260 …$widgets->{'tooltips'}->set_tip( $widgets->{'mencoder_output_clear_button'},msg('mencoder_output_c…
1261 …$widgets->{'tooltips'}->set_tip( $widgets->{'video_bpp_entry'}, msg('video_bpp_entry')…
1262 …$widgets->{'tooltips'}->set_tip( $widgets->{'more_options_entry'}, msg('more_options_entr…
1263 …$widgets->{'tooltips'}->set_tip( $widgets->{'total_blocks_spin'}, msg('total_blocks_spin…
1264 $widgets->{'tooltips'}->set_tip( $widgets->{'mencoder_entry'}, msg('mencoder_entry') );
1265 $widgets->{'tooltips'}->set_tip( $widgets->{'language_entry'}, msg('language_entry') );
1266 …$widgets->{'tooltips'}->set_tip( $widgets->{'cache_directory_entry'}, msg('cache_directory_entr…
1267 $widgets->{'tooltips'}->set_tip( $widgets->{'cache_check'}, msg('cache_check') );
1268 $widgets->{'tooltips'}->set_tip( $widgets->{'precache_check'}, msg('precache_check') );
1269 $widgets->{'tooltips'}->set_tip( $widgets->{'compact_check'}, msg('compact_check') );
1270 …$widgets->{'tooltips'}->set_tip( $widgets->{'enforce_space_check'}, msg('enforce_space_check')…
1271 …$widgets->{'tooltips'}->set_tip( $widgets->{'vf_pre_enable_check'}, msg('vf_pre_enable_check')…
1272 …$widgets->{'tooltips'}->set_tip( $widgets->{'vf_post_enable_check'}, msg('vf_post_enable_chec…
1273 …$widgets->{'tooltips'}->set_tip( $widgets->{'info_field_option'}, msg('info_field_option')…
1274 $widgets->{'tooltips'}->set_tip( $widgets->{'ppc_bug_check'}, msg('ppc_bug_check') );
1275 …$widgets->{'tooltips'}->set_tip( $widgets->{'flickbook_preview_check'}, msg('flickbook_preview_c…
1276 …$widgets->{'tooltips'}->set_tip( $widgets->{'vobsubout_check'}, msg('vobsubout_check') );
1277 …$widgets->{'tooltips'}->set_tip( $widgets->{'embed_preview_check'}, msg('embed_preview_check…
1278 $widgets->{'tooltips'}->set_tip( $widgets->{'eject_check'}, msg('eject_check') );
1279 $widgets->{'tooltips'}->set_tip( $widgets->{'queue_button'}, msg('queue_button') );
1280 …$widgets->{'tooltips'}->set_tip( $widgets->{'vcd_type_option'}, msg('vcd_type_option') );
1281 …$widgets->{'tooltips'}->set_tip( $widgets->{'vcd_format_option'}, msg('vcd_format_option')…
1282 …$widgets->{'tooltips'}->set_tip( $widgets->{'audio_gain_spin'}, msg('audio_gain_spin') );
1283 $widgets->{'tooltips'}->set_tip( $widgets->{'quit_button'}, msg('quit_button') );
1284 $widgets->{'tooltips'}->set_tip( $widgets->{'shutdown_check'}, msg('shutdown_check') );
1286 $widgets->{'queue_export_button'}->signal_connect( 'clicked', \&on_queue_export_button_clicked );
1287 $widgets->{'queue_clear_button'}->signal_connect( 'clicked', \&on_queue_clear_button_clicked );
1288 $widgets->{'preview_button'}->signal_connect( 'clicked', \&on_crop_preview_button_clicked );
1289 $widgets->{'crop_detect_button'}->signal_connect( 'clicked', \&on_crop_detect_button_clicked );
1290 $widgets->{'save_button'}->signal_connect( 'clicked', \&on_save_settings_button_clicked );
1291 …$widgets->{'restore_button'}->signal_connect( 'clicked', \&on_restore_defaults_button_clicked…
1292 $widgets->{'start_button'}->signal_connect( 'clicked', \&on_start_button_clicked );
1293 $widgets->{'stop_button'}->signal_connect( 'clicked', \&on_stop_button_clicked );
1294 $widgets->{'queue_button'}->signal_connect( 'clicked', \&on_queue_button_clicked );
1295 $widgets->{'stop_preview_button'}->signal_connect( 'clicked', \&on_stop_preview_button_clicked );
1296 $widgets->{'view_button'}->signal_connect( 'clicked', \&on_view_button_clicked );
1297 $widgets->{'scale_lock_check'}->signal_connect( 'toggled', \&on_scale_lock_check_clicked );
1298 $widgets->{'mpegfile_option'}->signal_connect( 'changed', \&on_mpegfile_option_changed );
1299 $widgets->{'video_bitrate_spin'}->signal_connect( 'value_changed', \&on_setting_changed);
1301 …$widgets->{'mencoder_output_save_button'}->signal_connect( 'clicked', \&on_mencoder_output_save_b…
1302 …$widgets->{'mencoder_output_clear_button'}->signal_connect( 'clicked', \&on_mencoder_output_clear_…
1303 …$widgets->{'mencoder_output_show_button'}->signal_connect( 'clicked', \&on_mencoder_output_show_b…
1304 …$widgets->{'mencoder_output_hide_button'}->signal_connect( 'clicked', \&on_mencoder_output_hide_b…
1306 bless( $widgets, $class );
1308 $widgets->connect_signals(
1314 …$widgets->connect_signals( 'changed', \&on_setting_finished, 'video_passes_spin', 'total_blocks_sp…
1315 $widgets->connect_signals(
1322 $widgets->connect_signals( 'activate', \&on_setting_finished, 'dvd_device_entry' );
1323 $widgets->connect_signals(
1328 $widgets->{'dvd_device_entry'}->signal_connect( 'activate', \&on_read_dvd_button_clicked );
1329 $widgets->{'video_bpp_entry'}->signal_connect( 'changed', \&on_bpp_changed );
1330 $widgets->{'filesize_spin'}->signal_connect( 'changed', \&on_filesize_changed );
1332 …$widgets->{'read_dvd_button'}->signal_connect( 'clicked', \&on_read_dvd_button_clicked, $widgets );
1334 $widgets->{'acidrip'}->signal_connect( 'delete_event', \&quit_acidrip );
1335 $widgets->{'quit_button'}->signal_connect( 'clicked', \&quit_acidrip );
1336 $widgets->{'progress_dialog_hide_button'}->signal_connect( 'clicked', \&progress_dialog_hide );
1337 $widgets->{'progress_dialog_show_button'}->signal_connect( 'clicked', \&progress_dialog_show );
1349 return $widgets;