# HG changeset patch # User pontscho # Date 1044092680 0 # Node ID bb4ae7a49e33a9d6bbd653d63115ebe4958061b9 # Parent d4df8b78bfc6363f20efe7dda9251336a54ee825 add Type1 and fix one 10l diff -r d4df8b78bfc6 -r bb4ae7a49e33 Gui/mplayer/gtk/fs.c --- a/Gui/mplayer/gtk/fs.c Sat Feb 01 09:36:25 2003 +0000 +++ b/Gui/mplayer/gtk/fs.c Sat Feb 01 09:44:40 2003 +0000 @@ -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" ) );