comparison Gui/mplayer/gtk/opts.c @ 9259:1a21ce1da8d8

fix idx
author pontscho
date Mon, 03 Feb 2003 22:06:07 +0000
parents c2f31ca14a92
children 76fa7baabd90
comparison
equal deleted inserted replaced
9258:8c9c431766d9 9259:1a21ce1da8d8
314 } 314 }
315 #endif 315 #endif
316 316
317 // -- 5. page 317 // -- 5. page
318 gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBNonInterlaved ),force_ni ); 318 gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBNonInterlaved ),force_ni );
319 gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBIndex ),index_mode ); 319 if ( index_mode == 1 ) gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBIndex ),1 );
320 { 320 {
321 int i; 321 int i;
322 GList * Items = NULL; 322 GList * Items = NULL;
323 char * name = NULL; 323 char * name = NULL;
324 324
568 if ( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( RBFontAutoScaleDiagonal ) ) ) gtkSet( gtkSetFontAutoScale,3,NULL ); 568 if ( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( RBFontAutoScaleDiagonal ) ) ) gtkSet( gtkSetFontAutoScale,3,NULL );
569 #endif 569 #endif
570 570
571 // -- 5. page 571 // -- 5. page
572 force_ni=gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBNonInterlaved ) ); 572 force_ni=gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBNonInterlaved ) );
573 index_mode=gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBIndex ) ); 573 index_mode=-1;
574 if ( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBIndex ) ) ) index_mode=1;
574 575
575 { 576 {
576 int i; 577 int i;
577 char * tmp = gtk_entry_get_text( GTK_ENTRY( EVFM ) ); 578 char * tmp = gtk_entry_get_text( GTK_ENTRY( EVFM ) );
578 for( i=0;mpcodecs_vd_drivers[i];i++ ) 579 for( i=0;mpcodecs_vd_drivers[i];i++ )