Mercurial > libervia-backend
changeset 610:c8c07c920e30
Primitivus: fixed xmlui/chat bad contents change
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 10 Mar 2013 20:54:45 +0100 |
parents | 84a6e83157c2 |
children | d722778b152c |
files | frontends/src/primitivus/chat.py frontends/src/primitivus/xmlui.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/primitivus/chat.py Fri Mar 08 00:36:22 2013 +0100 +++ b/frontends/src/primitivus/chat.py Sun Mar 10 20:54:45 2013 +0100 @@ -185,7 +185,7 @@ def __appendGamePanel(self, widget): assert (len(self.pile.contents) == 1) - self.pile.contents.insert(0,(widget,('weight', 1, False))) + self.pile.contents.insert(0,(widget,('weight', 1))) self.pile.contents.insert(1,(urwid.Filler(urwid.Divider('-'),('fixed', 1)))) self.host.redraw()
--- a/frontends/src/primitivus/xmlui.py Fri Mar 08 00:36:22 2013 +0100 +++ b/frontends/src/primitivus/xmlui.py Sun Mar 10 20:54:45 2013 +0100 @@ -39,7 +39,7 @@ if self.idx == 1: self._w.set_focus(1) else: - pile.contents.append((widget,('weight',getattr(self,'weight_'+str(self.idx)), False))) + pile.contents.append((widget,('weight',getattr(self,'weight_'+str(self.idx))))) self.idx = (self.idx + 1) % 2 class InvalidXMLUI(Exception):