Changeset 2234
- Timestamp:
- 03/02/08 03:03:54 (4 months ago)
- Files:
-
- gaphas/trunk/gaphas/decorators.py (modified) (1 diff)
- gaphas/trunk/gaphas/tool.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphas/trunk/gaphas/decorators.py
r1794 r2234 7 7 8 8 import gobject 9 from gobject import PRIORITY_HIGH, PRIORITY_HIGH_IDLE, PRIORITY_DEFAULT 9 from gobject import PRIORITY_HIGH, PRIORITY_HIGH_IDLE, PRIORITY_DEFAULT, \ 10 PRIORITY_DEFAULT_IDLE, PRIORITY_LOW 10 11 import operator 11 12 gaphas/trunk/gaphas/tool.py
r2173 r2234 611 611 canvas = view.canvas 612 612 new_item = self._create_item(context, event.x, event.y) 613 # Enforce matrix update, as a good matrix is required for the handle 614 # positioning: 615 canvas.get_matrix_i2c(new_item, calculate=True) 613 616 self._handle_tool.grab_handle(new_item, 614 617 new_item.handles()[self._handle_index])
