Changeset 2257
- Timestamp:
- 03/06/08 00:00:22 (9 months ago)
- Files:
-
- gaphas/trunk/gaphas/item.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphas/trunk/gaphas/item.py
r2256 r2257 13 13 from solver import solvable, WEAK, NORMAL, STRONG, VERY_STRONG 14 14 from constraint import EqualsConstraint, LessThanConstraint 15 from state import observed, reversible_ pair, reversible_property, disable_dispatching15 from state import observed, reversible_method, reversible_pair, reversible_property, disable_dispatching 16 16 17 17 … … 503 503 504 504 @observed 505 def _inner_set_horizontal(self, horizontal): 506 self._horizontal = horizontal 507 508 reversible_method(_inner_set_horizontal, _inner_set_horizontal, 509 {'horizontal': lambda horizontal: not horizontal }) 510 505 511 def _set_horizontal(self, horizontal): 506 512 """ … … 512 518 False 513 519 """ 514 self._ horizontal = horizontal520 self._inner_set_horizontal(horizontal) 515 521 self._set_orthogonal_constraints(self._orthogonal) 516 522
