Fix crash with file selector after pressing OK.

The crash would occur with the "dot directory" selected and pressing OK
when previously either the "directory up" button or OK (to refresh the
file list) has been pressed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36061 b3059339-0415-0410-9bf9-f77b7e298cf2
Change parameter declaration to const.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36062 b3059339-0415-0410-9bf9-f77b7e298cf2
Change variable definitions to const.

Additionally, rename fsThatDir fsThisDir.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36063 b3059339-0415-0410-9bf9-f77b7e298cf2
Avoid duplicate entries in the file selector path list.

Use new fs_glist_add() to check that a path isn't yet
in the list before adding it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36064 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename fs_glist_add() fs_AddPath().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36065 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Format to MPlayer coding style.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36066 b3059339-0415-0410-9bf9-f77b7e298cf2
Make #defines enums.

Additionally, add doxygen comment.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36067 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename file selector type enums.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36068 b3059339-0415-0410-9bf9-f77b7e298cf2
Rename extern GTK widget fsFileSelect FileSelector.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36069 b3059339-0415-0410-9bf9-f77b7e298cf2
Rename ShowFileSelect() ShowFileSelector().

Additionally, remove a parameter. It's always
the same, default value anyway.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36070 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename ShowAboutBox() ShowAbout().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36071 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename ShowURLDialogBox() ShowURLDialog().

Additionally, rename GTK widget URL URLDialog.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36072 b3059339-0415-0410-9bf9-f77b7e298cf2
Make HidePlayList() static.

It only has file scope.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36073 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename HidePlayList() HidePlaylist().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36074 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename ShowPlayList() ShowPlaylist().

Additionally, rename GTK widget PlayList Playlist.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36075 b3059339-0415-0410-9bf9-f77b7e298cf2
Make create_PlayList() static.

It only has file scope.

In order to do so, relocate some other static functions.

Additionally, rename it create_Playlist().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36076 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove unnecessary declaration.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36077 b3059339-0415-0410-9bf9-f77b7e298cf2
Move declaration of GTK widget Playlist where it belongs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36078 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename variables.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36079 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove unused declaration.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36080 b3059339-0415-0410-9bf9-f77b7e298cf2