Changeset 1098

Show
Ignore:
Timestamp:
12/07/06 03:07:17 (2 years ago)
Author:
arjanmol
Message:

small fix in generalization.py and implementation.py: use close_path() in draw().
updated TODO list

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphor/branches/new-canvas/TODO

    r1091 r1098  
     1 
     2 - text position of folded InterfaceItem (should be below circle) 
     3 - extra margin around operations in ClassItem 
     4 - join/fork node text editing 
     5 - text placement for action nodes. 
    16 
    27 - Undo functionality 
  • gaphor/branches/new-canvas/gaphor/adapters/editors.py

    r1097 r1098  
    8080        name part or is it text in some compartment 
    8181        """ 
     82        if self._item.drawing_style not in (items.ClassifierItem.DRAW_COMPARTMENT, items.ClassifierItem.DRAW_COMPARTMENT_ICON): 
     83            self._edit = self._item 
     84            return True 
     85 
    8286        self._edit = None 
    8387        name_comp_height = self._item.get_name_size()[1] 
  • gaphor/branches/new-canvas/gaphor/diagram/generalization.py

    r1022 r1098  
    2222        cr.line_to(15, -10) 
    2323        cr.line_to(15, 10) 
    24         cr.line_to(0, 0) 
     24        cr.close_path() 
     25        cr.stroke() 
    2526        cr.move_to(15, 0) 
    2627 
  • gaphor/branches/new-canvas/gaphor/diagram/implementation.py

    r1022 r1098  
    3333            cr.line_to(15, -10) 
    3434            cr.line_to(15, 10) 
    35             cr.line_to(0, 0
     35            cr.close_path(
    3636            cr.stroke() 
    3737            cr.move_to(15, 0)