file chooser dialog events implementation.

This commit is contained in:
Miroslav Šedivý
2021-01-19 21:01:31 +01:00
parent 22d31e871c
commit d4e0287eb5
13 changed files with 129 additions and 157 deletions

View File

@ -53,7 +53,8 @@ func (manager *DesktopManagerCtx) Start() {
go xevent.EventLoop(manager.display)
go manager.fileChooserDialogStart()
// In case it was opened
go manager.CloseFileChooserDialog()
manager.OnEventError(func(error_code uint8, message string, request_code uint8, minor_code uint8) {
manager.logger.Warn().