Mercurial > libervia-backend
diff frontends/src/primitivus/xmlui.py @ 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 | a77217511afd |
children | d5e332055d9f |
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):