diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-01 09:44:40 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-01 09:44:40 +0000 |
commit | b3c5f30d359cc92af9f33a22ff3a4bcf5d087bfd (patch) | |
tree | d6db4dc810489f9bc75f11bb75e71f00fb59e17d /Gui | |
parent | 60ee64cf192c5c8cc8896647dc03f2a87676f454 (diff) |
add Type1 and fix one 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9196 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r-- | Gui/mplayer/gtk/fs.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Gui/mplayer/gtk/fs.c b/Gui/mplayer/gtk/fs.c index 59d87ab327..60cbdab4a7 100644 --- a/Gui/mplayer/gtk/fs.c +++ b/Gui/mplayer/gtk/fs.c @@ -94,7 +94,9 @@ char * fsAudioFileNames[][2] = 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 @@ void ShowFileSelect( int type,int modal ) 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" ) ); |