macos: use NSPopUpButton for filter selection in native filechooser
authorQiu Wenbo <qiuwenbo@kylinos.com.cn>
Fri, 11 Aug 2023 07:58:06 +0000 (15:58 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 24 Aug 2023 14:19:04 +0000 (10:19 -0400)
commit1394a8250783e21101df3faee7bbf40be65b0a52
tree4b75e92977679ce1ddc7916b7cc2f52784bb6529
parent0997d39a06266cf357b28d8084aa71d61d02b0fa
macos: use NSPopUpButton for filter selection in native filechooser

On macOS 14, NSComboBox can't popup the dropdown list of filters. That
makes native filechooser on macOS completed broken. And NSComboBox is
more complex since it is a widget focused on edit capability.
NSPopUpButton is more suitable for plain selectable dropdown list.

Fixes: 4986
Signed-off-by: Qiu Wenbo <qiuwenbo@kylinos.com.cn>
gtk/gtkfilechoosernativequartz.c