Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gui/page.py
diff options
context:
space:
mode:
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