Mercurial > mplayer.hg
changeset 35976:6eaf7941b762
Rename ShowFileSelect() ShowFileSelector().
Additionally, remove a parameter. It's always
the same, default value anyway.
author | ib |
---|---|
date | Thu, 28 Mar 2013 16:52:56 +0000 |
parents | 16f60d1a3b7f |
children | 3734172b4af6 |
files | gui/dialog/dialog.c gui/dialog/fileselect.c gui/dialog/fileselect.h gui/dialog/preferences.c |
diffstat | 4 files changed, 6 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/dialog/dialog.c Thu Mar 28 16:35:59 2013 +0000 +++ b/gui/dialog/dialog.c Thu Mar 28 16:52:56 2013 +0000 @@ -325,17 +325,17 @@ break; case evLoad: - ShowFileSelect(FILESELECT_VIDEO_AUDIO, 0); + ShowFileSelector(FILESELECT_VIDEO_AUDIO); gtkSetLayer(FileSelector); break; case evLoadSubtitle: - ShowFileSelect(FILESELECT_SUBTITLE, 0); + ShowFileSelector(FILESELECT_SUBTITLE); gtkSetLayer(FileSelector); break; case evLoadAudioFile: - ShowFileSelect(FILESELECT_AUDIO, 0); + ShowFileSelector(FILESELECT_AUDIO); gtkSetLayer(FileSelector); break;
--- a/gui/dialog/fileselect.c Thu Mar 28 16:35:59 2013 +0000 +++ b/gui/dialog/fileselect.c Thu Mar 28 16:52:56 2013 +0000 @@ -652,7 +652,7 @@ return FileSelector; } -void ShowFileSelect( int type,int modal ) +void ShowFileSelector( int type ) { int i, k, fsMedium; char * tmp = NULL, * dir = NULL; @@ -769,7 +769,5 @@ gtk_clist_select_row( GTK_CLIST( fsFNameList ),fsLastFNameListSelected,1 ); fsLastFNameListSelected = 0; - gtk_window_set_modal( GTK_WINDOW( FileSelector ),modal ); - gtk_widget_show( FileSelector ); }