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

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

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

revision 232 by bh, Fri Jul 19 15:14:57 2002 UTC revision 241 by bh, Wed Jul 24 17:16:17 2002 UTC
# Line 98  class Session(TitledObject, Modifiable): Line 98  class Session(TitledObject, Modifiable):
98              map.Subscribe(channel, self.forward, channel)              map.Subscribe(channel, self.forward, channel)
99          self.changed(MAPS_CHANGED)          self.changed(MAPS_CHANGED)
100    
101        def RemoveMap(self, map):
102            for channel in self.forwarded_channels:
103                map.Unsubscribe(channel, self.forward, channel)
104            self.maps.remove(map)
105            self.changed(MAPS_CHANGED)
106            map.Destroy()
107    
108      def Extensions(self):      def Extensions(self):
109          return self.extensions          return self.extensions
110    

Legend:
Removed from v.232  
changed lines
  Added in v.241

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26