Fix browsing for souns folder in newer GTK
authorH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 3 Jun 2019 11:54:53 +0000 (13:54 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 3 Jun 2019 11:54:53 +0000 (13:54 +0200)
commite71256cdd8bdc5f2751119765213ac0fbcca3f8c
tree2ea3d5f5e7b6608bf59448930c5e7f8a1e1823c5
parent5f72964c8bb375139f94d2b03f9d084a6637c095
Fix browsing for souns folder in newer GTK

The file chooser would grey out all folders unless the user would first
switch the filter to 'All Files', in newer GTK versions, when choosing
a sounds or piece-image directory. The problem could be traced to the
corresponding Options specifying an empty filter string, rather than
a NULL pointer. The file chooser would be started with this filter
selected, and at some point GTK changed to interpret the empty pattern
as 'nothing' rather than 'everything'. By specifying NULL for the filter
'All files' will be the only option, and automatically selected.
dialogs.c