Changeset 2177 for gaphor/branches/gaphor-0.12/gaphor
- Timestamp:
- 01/07/08 04:17:47 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphor/branches/gaphor-0.12/gaphor/diagram/artifact.py
r1467 r2177 25 25 self._line = [] 26 26 27 def update_compartment_icon(self, context):28 super(ArtifactItem, self). update_compartment_icon(context)27 def pre_update_compartment_icon(self, context): 28 super(ArtifactItem, self).pre_update_compartment_icon(context) 29 29 w = self.ICON_WIDTH 30 30 h = self.ICON_HEIGHT … … 44 44 cr = context.cairo 45 45 cr.save() 46 self.draw_compartment(context) 47 cr.restore() 46 48 47 49 # draw icon … … 56 58 cr.stroke() 57 59 58 cr.restore() 59 self.draw_compartment(context) 60 60 61 61 62 # vim:sw=4:et
