Mercurial > libervia-backend
changeset 1518:8c071bc359c9
primitivus (XMLUI): manage message in FileDialog /!\ Urwid SàText need to be updated /!\
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 25 Sep 2015 19:19:12 +0200 |
parents | 4eca4f5e21ec |
children | fbe86b5d156f |
files | frontends/src/primitivus/xmlui.py |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/primitivus/xmlui.py Fri Sep 25 19:19:10 2015 +0200 +++ b/frontends/src/primitivus/xmlui.py Fri Sep 25 19:19:12 2015 +0200 @@ -361,7 +361,12 @@ 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):