# HG changeset patch # User Sylvain Thénault # Date 1287135186 -7200 # Node ID e288df2e2f18122bdd343020ebe6ff296ea445a4 # Parent c4123c741c666f2634bef48917710047cd7b1a2a [component] remove row argument which is actually discarded by registry's cache (untill we feel we need a per context cache...) diff -r c4123c741c66 -r e288df2e2f18 web/views/primary.py --- a/web/views/primary.py Fri Oct 15 11:25:59 2010 +0200 +++ b/web/views/primary.py Fri Oct 15 11:33:06 2010 +0200 @@ -90,7 +90,7 @@ def content_navigation_components(self, context): self.w(u'
' % context) for comp in self._cw.vreg['ctxcomponents'].poss_visible_objects( - self._cw, rset=self.cw_rset, row=self.cw_row, view=self, context=context): + self._cw, rset=self.cw_rset, view=self, context=context): try: comp.render(w=self.w, row=self.cw_row, view=self) except NotImplementedError: @@ -249,7 +249,7 @@ context='incontext') sideboxes.append(box) sideboxes += boxesreg.poss_visible_objects( - self._cw, rset=self.cw_rset, row=self.cw_row, view=self, + self._cw, rset=self.cw_rset, view=self, context='incontext') # XXX since we've two sorted list, it may be worth using bisect def get_order(x):