gtk: Map dialog type to message box type
This commit is contained in:
parent
02e28ea758
commit
3e6394a004
4 changed files with 21 additions and 4 deletions
|
@ -9,7 +9,7 @@ fileDialogProperties =
|
|||
multiSelections: 1 << 2
|
||||
createDirectory: 1 << 3
|
||||
|
||||
messageBoxTypes = ['none', 'info', 'warning']
|
||||
messageBoxTypes = ['none', 'info', 'warning', 'error', 'question']
|
||||
|
||||
parseArgs = (window, options, callback) ->
|
||||
unless window is null or window?.constructor is BrowserWindow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue