[MPlayer-cvslog] CVS: main/Gui app.c, 1.25, 1.26 app.h, 1.19, 1.20 interface.c, 1.107, 1.108
Diego Biurrun CVS
syncmail at mplayerhq.hu
Mon Mar 27 13:39:29 CEST 2006
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main/Gui
In directory mail:/var2/tmp/cvs-serv23243/Gui
Modified Files:
app.c app.h interface.c
Log Message:
Rename the default GUI skins directory from 'Skin' to 'skins', keeping
backwards compatibility.
Index: app.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/app.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- app.c 8 Dec 2005 22:12:56 -0000 1.25
+++ app.c 27 Mar 2006 11:39:26 -0000 1.26
@@ -74,8 +74,11 @@
listItems appMPlayer;
+/* FIXME: Eventually remove the obsolete directory names. */
char * skinDirInHome=NULL;
+char * skinDirInHome_obsolete=NULL;
char * skinMPlayerDir=NULL;
+char * skinMPlayerDir_obsolete=NULL;
char * skinName = NULL;
void appClearItem( wItem * item )
Index: app.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/app.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- app.h 25 Jan 2005 12:44:37 -0000 1.19
+++ app.h 27 Mar 2006 11:39:26 -0000 1.20
@@ -171,7 +171,9 @@
extern listItems appMPlayer;
extern char * skinDirInHome;
+extern char * skinDirInHome_obsolete;
extern char * skinMPlayerDir;
+extern char * skinMPlayerDir_obsolete;
extern char * skinName;
extern void appInitStruct( listItems * item );
Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- interface.c 8 Dec 2005 22:12:56 -0000 1.107
+++ interface.c 27 Mar 2006 11:39:26 -0000 1.108
@@ -215,10 +215,14 @@
// --- initialize X
wsXInit( (void *)mDisplay );
// --- load skin
- skinDirInHome=get_path("Skin");
- skinMPlayerDir=MPLAYER_DATADIR "/Skin";
+ skinDirInHome=get_path("skins");
+ skinDirInHome_obsolete=get_path("Skin");
+ skinMPlayerDir=MPLAYER_DATADIR "/skins";
+ skinMPlayerDir_obsolete=MPLAYER_DATADIR "/Skin";
mp_msg( MSGT_GPLAYER,MSGL_V,"SKIN dir 1: '%s'\n",skinDirInHome);
+ mp_msg( MSGT_GPLAYER,MSGL_V,"SKIN dir 1 (obsolete): '%s'\n",skinDirInHome_obsolete);
mp_msg( MSGT_GPLAYER,MSGL_V,"SKIN dir 2: '%s'\n",skinMPlayerDir);
+ mp_msg( MSGT_GPLAYER,MSGL_V,"SKIN dir 2 (obsolete): '%s'\n",skinMPlayerDir_obsolete);
if ( !skinName ) skinName=strdup( "default" );
i = skinRead( skinName );
if ((i == -1) && strcmp(skinName,"default"))
More information about the MPlayer-cvslog
mailing list