mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 20:27:23 +00:00
itt a skin nem van hibauzenet igy.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3587 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2f6396e310
commit
4d3b8c99b1
@ -3,8 +3,11 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "app.h"
|
||||
#include "../config.h"
|
||||
#include "../mp_msg.h"
|
||||
#include "../help_mp.h"
|
||||
|
||||
#include "app.h"
|
||||
#include "error.h"
|
||||
#include "wm/wskeys.h"
|
||||
#include "skin/skin.h"
|
||||
@ -109,8 +112,8 @@ void appInit( int argc,char* argv[], char *envp[], void* disp )
|
||||
initDebug(NULL); // write messages to stderr
|
||||
switch ( skinRead( skinName ) )
|
||||
{
|
||||
case -1: dbprintf( 0,"[app] skin configfile not found.\n" ); exit( 0 );
|
||||
case -2: dbprintf( 0,"[app] skin configfile read error.\n" ); exit( 0 );
|
||||
case -1: mp_msg( MSGT_GPLAYER,MSGL_ERR,MSGTR_SKIN_SKINCFG_SkinNotFound,skinName ); exit( 0 );
|
||||
case -2: mp_msg( MSGT_GPLAYER,MSGL_ERR,MSGTR_SKIN_SKINCFG_SkinCfgReadError,skinName ); exit( 0 );
|
||||
}
|
||||
mplInit( argc,argv,envp,disp ); // does gtk & ws initialization, create windows
|
||||
}
|
||||
|
@ -110,6 +110,7 @@ void gtkDone( void ){
|
||||
|
||||
void gtkMessageBox( int type,gchar * str )
|
||||
{
|
||||
if ( !gtkIsOk ) return;
|
||||
gtkShMem->mb.type=type;
|
||||
strcpy( gtkShMem->mb.str,str );
|
||||
gtkSendMessage( evMessageBox );
|
||||
|
@ -7,7 +7,9 @@
|
||||
#include "error.h"
|
||||
#include "font.h"
|
||||
#include "../app.h"
|
||||
|
||||
#include "../../config.h"
|
||||
#include "../../mp_msg.h"
|
||||
#include "../../help_mp.h"
|
||||
|
||||
listItems * skinAppMPlayer = &appMPlayer;
|
||||
|
@ -266,5 +266,7 @@ static char help_text[]=
|
||||
#define MSGTR_SKIN_FONT_NonExistentFontID "non-existent font identifier ( %s )\n"
|
||||
#define MSGTR_SKIN_UnknownParameter "unknown parameter ( %s )\n"
|
||||
#define MSGTR_SKINBROWSER_NotEnoughMemory "[skinbrowser] not enough memory.\n"
|
||||
#define MSGTR_SKIN_SKINCFG_SkinNotFound "Skin not found ( %s ).\n"
|
||||
#define MSGTR_SKIN_SKINCFG_SkinCfgReadError "Skin configfile read error ( %s ).\n"
|
||||
|
||||
#endif
|
||||
|
@ -261,5 +261,7 @@ static char help_text[]=
|
||||
#define MSGTR_SKIN_FONT_NonExistentFontID "nemlétezõ betûtipus azonosító ( %s )\n"
|
||||
#define MSGTR_SKIN_UnknownParameter "ismeretlen paraméter ( %s )\n"
|
||||
#define MSGTR_SKINBROWSER_NotEnoughMemory "[skinböngészõ] nincs elég memória.\n"
|
||||
#define MSGTR_SKIN_SKINCFG_SkinNotFound "Skin nem található ( %s ).\n"
|
||||
#define MSGTR_SKIN_SKINCFG_SkinCfgReadError "Skin configfile olvasási hiba ( %s ).\n"
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user