comparison gui/dialog/equalizer.c @ 36019:d2d776c8e040

Cosmetic: Rename gtkActive() gtkRaise().
author ib
date Sun, 31 Mar 2013 17:08:30 +0000
parents 5c720c434d56
children a04e8798227b
comparison
equal deleted inserted replaced
36018:26836919db4e 36019:d2d776c8e040
472 return Equalizer; 472 return Equalizer;
473 } 473 }
474 474
475 void ShowEqualizer( void ) 475 void ShowEqualizer( void )
476 { 476 {
477 if ( Equalizer ) gtkActive( Equalizer ); 477 if ( Equalizer ) gtkRaise( Equalizer );
478 else Equalizer=CreateEqualizer(); 478 else Equalizer=CreateEqualizer();
479 479
480 if ( !gtkEquChannel1 ) gtkEquChannel1=strdup( MSGTR_EQU_Front_Right ); 480 if ( !gtkEquChannel1 ) gtkEquChannel1=strdup( MSGTR_EQU_Front_Right );
481 if ( !gtkEquChannel2 ) gtkEquChannel2=strdup( MSGTR_EQU_Front_Left ); 481 if ( !gtkEquChannel2 ) gtkEquChannel2=strdup( MSGTR_EQU_Front_Left );
482 if ( !gtkEquChannel3 ) gtkEquChannel3=strdup( MSGTR_EQU_Back_Right ); 482 if ( !gtkEquChannel3 ) gtkEquChannel3=strdup( MSGTR_EQU_Back_Right );
535 535
536 void ShowEquConfig( void ) 536 void ShowEquConfig( void )
537 { 537 {
538 GList * Items = NULL; 538 GList * Items = NULL;
539 539
540 if ( EquConfig ) gtkActive( EquConfig ); 540 if ( EquConfig ) gtkRaise( EquConfig );
541 else EquConfig=CreateEquConfig(); 541 else EquConfig=CreateEquConfig();
542 542
543 Items=g_list_append( Items,(gpointer)MSGTR_EQU_Front_Right ); 543 Items=g_list_append( Items,(gpointer)MSGTR_EQU_Front_Right );
544 Items=g_list_append( Items,(gpointer)MSGTR_EQU_Front_Left ); 544 Items=g_list_append( Items,(gpointer)MSGTR_EQU_Front_Left );
545 Items=g_list_append( Items,(gpointer)MSGTR_EQU_Back_Right ); 545 Items=g_list_append( Items,(gpointer)MSGTR_EQU_Back_Right );