Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gui/page.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-01-04 10:47:30 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-01-04 10:47:30 (GMT)
commit38a31f06849ac8543816bb58ca3a00d6e2c79019 (patch)
tree7681728ba99258351fdf5767418fad3462f3a5a6 /gui/page.py
parent72c1ff45c4ba0517c15d1444d638ad06a4d2f84c (diff)
adapt to non-XO screen resolution
Diffstat (limited to 'gui/page.py')
-rw-r--r--gui/page.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/page.py b/gui/page.py
index 02092be..b0aafb5 100644
--- a/gui/page.py
+++ b/gui/page.py
@@ -59,8 +59,8 @@ class Page(hippo.CanvasBox):
self.__color_listrow = theme.COLOR_LIST_ROW_ALT.get_int()
- def append(self, item, **kwargs):
- hippo.CanvasBox.append(self, item, **kwargs)
+ def append(self, item, *args, **kwargs):
+ hippo.CanvasBox.append(self, item, *args, **kwargs)
@property
@@ -74,14 +74,14 @@ class Page(hippo.CanvasBox):
return self.__color_listrow
- def make_listrow(self, contents = None):
+ def make_listrow(self, contents = None, *args):
list_row = RoundBox()
list_row.props.border = 0 # properties not being set properly by constructor
list_row.props.padding = theme.DEFAULT_PADDING
#list_row.props.padding_right=0
list_row.props.background_color = self.color_listrow
if contents is not None:
- list_row.append(contents)
+ list_row.append(contents, *args)
return list_row