# HG changeset patch # User Goffi # Date 1362945285 -3600 # Node ID c8c07c920e30d1a04712df5e7009a84be384ce4c # Parent 84a6e83157c202fd3e133f7f6c7ef7fd589fda34 Primitivus: fixed xmlui/chat bad contents change diff -r 84a6e83157c2 -r c8c07c920e30 frontends/src/primitivus/chat.py --- 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() diff -r 84a6e83157c2 -r c8c07c920e30 frontends/src/primitivus/xmlui.py --- 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):