talkatu/talkatu

Use native file choosers in demo

2022-01-30, Elliott Sales de Andrade
185f255b8a01
Use native file choosers in demo

Although there is a `gtk_native_dialog_run` blocking call, that is gone in GTK4, so I implemented this using callbacks.

Testing Done:
Opened dialogs and loaded `test.md`/`test.html`, also cancelled dialog and nothing happened.

Reviewed at https://reviews.imfreedom.org/r/1262/
###############################################################################
# Options
###############################################################################
option(
'nls',
type : 'boolean', value : true,
description : 'Install translation files'
)
option(
'doc',
type : 'boolean', value : true, yield : true,
description : 'build documentation with gtk-doc'
)
option(
'help2man',
type : 'boolean', value : true,
description : 'Whether or not to build man pages from --help output'
)
option(
'install-demo',
type : 'boolean', value : true,
description : 'Whether or not to install demo application'
)
option(
'introspection',
type : 'boolean', value : true, yield : true,
description : 'build gobject-introspection support'
)
option(
'tests',
type : 'boolean', value : true,
description : 'run unit tests'
)
option(
'vapi',
type : 'boolean', value : true,
description : 'Whether or not to build vapi files for gplugin'
)