/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/extension.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/Model/extension.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 195 by jan, Thu Jun 20 15:12:01 2002 UTC revision 374 by jan, Mon Jan 27 14:20:02 2003 UTC
# Line 7  Line 7 
7    
8  __version__ = "$Revision$"  __version__ = "$Revision$"
9    
10    from Thuban import _
11    
12  from messages import EXTENSION_CHANGED, EXTENSION_OBJECTS_CHANGED  from messages import EXTENSION_CHANGED, EXTENSION_OBJECTS_CHANGED
13    
14  from base import TitledObject, Modifiable  from base import TitledObject, Modifiable
# Line 81  class Extension(TitledObject, Modifiable Line 83  class Extension(TitledObject, Modifiable
83      def UnsetModified(self):      def UnsetModified(self):
84          """Unset the modified flag of the extension"""          """Unset the modified flag of the extension"""
85          Modifiable.UnsetModified(self)          Modifiable.UnsetModified(self)
86    
87        def TreeInfo(self):
88            return (_("Extension: %s") % self.title,
89                    ["%s: %s" % (object.title, object.name)
90                     for object in self.objects])

Legend:
Removed from v.195  
changed lines
  Added in v.374

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26