comparison Gui/interface.c @ 6891:e1c5f3128b3a

gui.conf parsing moved to after gtkInit() - should fix i18n problems
author arpi
date Sun, 04 Aug 2002 11:09:20 +0000
parents 397e7a1860f9
children 138a7ff52a26
comparison
equal deleted inserted replaced
6890:cc48a4233992 6891:e1c5f3128b3a
80 { 80 {
81 memset( &guiIntfStruct,0,sizeof( guiIntfStruct ) ); 81 memset( &guiIntfStruct,0,sizeof( guiIntfStruct ) );
82 memset( &gtkEquChannels,0,sizeof( gtkEquChannels ) ); 82 memset( &gtkEquChannels,0,sizeof( gtkEquChannels ) );
83 gtkAOOSSMixer=strdup( PATH_DEV_MIXER ); 83 gtkAOOSSMixer=strdup( PATH_DEV_MIXER );
84 gtkAOOSSDevice=strdup( PATH_DEV_DSP ); 84 gtkAOOSSDevice=strdup( PATH_DEV_DSP );
85 cfg_read(); 85 // cfg_read(); // !!! moved to Gui/mplayer/mplayer.c::mplInit() after gtkInit()
86 appInit( (void*)mDisplay ); 86 appInit( (void*)mDisplay );
87 if ( plCurrent && !filename ) mplSetFileName( plCurrent->path,plCurrent->name ); 87 if ( plCurrent && !filename ) mplSetFileName( plCurrent->path,plCurrent->name );
88 #if defined( USE_OSD ) || defined( USE_SUB ) 88 #if defined( USE_OSD ) || defined( USE_SUB )
89 guiLoadFont(); 89 guiLoadFont();
90 #endif 90 #endif