Changeset 1035


Ignore:
Timestamp:
12/02/11 21:55:27 (18 months ago)
Author:
tal
Message:
Post a NameWillChange notification.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/defcon/branches/ufo3/Lib/defcon/objects/glyph.py

    r1030 r1035  
    3535    ============================ 
    3636    Glyph.Changed 
     37    Glyph.NameWillChange 
    3738    Glyph.NameChanged 
    3839    Glyph.UnicodesChanged 
     
    186187        oldName = self._name 
    187188        if oldName != value: 
     189            self.postNotification(notification="Glyph.NameWillChange", data=dict(oldValue=oldName, newValue=value)) 
    188190            self._name = value 
    189191            self.postNotification(notification="Glyph.NameChanged", data=dict(oldValue=oldName, newValue=value)) 
Note: See TracChangeset for help on using the changeset viewer.