[Mplayer-cvslog] CVS: main/Gui/mplayer/gtk fs.c,1.46,1.47
Zoltan Ponekker
pontscho at mplayerhq.hu
Sat Feb 1 10:44:59 CET 2003
Update of /cvsroot/mplayer/main/Gui/mplayer/gtk
In directory mail:/var/tmp.root/cvs-serv18885/Gui/mplayer/gtk
Modified Files:
fs.c
Log Message:
add Type1 and fix one 10l
Index: fs.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/fs.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- fs.c 1 Feb 2003 09:00:35 -0000 1.46
+++ fs.c 1 Feb 2003 09:44:40 -0000 1.47
@@ -94,7 +94,9 @@
char * fsFontFileNames[][2] =
{
#ifdef HAVE_FREETYPE
- { "font files (*.ttf)", "*.ttf" },
+ { "True Type fonts (*.ttf)", "*.ttf" },
+ { "Type1 fonts (*.pfb)", "*.pfb" },
+ { "All fonts", "*.ttf,*.pfb" },
#else
{ "font files (*.desc)", "*.desc" },
#endif
@@ -309,8 +311,11 @@
char * hist;
int i, c = 1;
- for ( i=0;i < fsPersistant_MaxPos;i++ )
- if ( fsHistory[i] ) { fsTopList_items=g_list_append( fsTopList_items,fsHistory[i] ); c=0; }
+ if ( fsType == fsVideoSelector )
+ {
+ for ( i=0;i < fsPersistant_MaxPos;i++ )
+ if ( fsHistory[i] ) { fsTopList_items=g_list_append( fsTopList_items,fsHistory[i] ); c=0; }
+ }
if ( c ) fsTopList_items=g_list_append( fsTopList_items,(gchar *)get_current_dir_name() );
}
if ( getenv( "HOME" ) ) fsTopList_items=g_list_append( fsTopList_items,getenv( "HOME" ) );
More information about the MPlayer-cvslog
mailing list