primitivus (XMLUI): manage message in FileDialog /!\ Urwid SàText need to be updated /!\
This commit is contained in:
parent
ebf0edb178
commit
db35bfb674
1 changed files with 6 additions and 1 deletions
|
|
@ -361,7 +361,12 @@ class PrimitivusFileDialog(PrimitivusDialog, xmlui.FileDialog, files_management.
|
|||
style = []
|
||||
if filetype == C.XMLUI_DATA_FILETYPE_DIR:
|
||||
style.append('dir')
|
||||
files_management.FileDialog.__init__(self, ok_cb=lambda path: self._xmluiValidated({'path': path}), cancel_cb=lambda dummy: self._xmluiCancelled(), title=title)
|
||||
files_management.FileDialog.__init__(self,
|
||||
ok_cb=lambda path: self._xmluiValidated({'path': path}),
|
||||
cancel_cb=lambda dummy: self._xmluiCancelled(),
|
||||
message=message,
|
||||
title=title,
|
||||
style=style)
|
||||
|
||||
|
||||
class GenericFactory(object):
|
||||
|
|
|
|||
Loading…
Reference in a new issue