/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/projdialog.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/projdialog.py

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

revision 757 by jonathan, Fri Apr 25 17:37:44 2003 UTC revision 760 by jonathan, Tue Apr 29 09:01:52 2003 UTC
# Line 151  class ProjFrame(NonModalDialog): Line 151  class ProjFrame(NonModalDialog):
151          newproj = self.__GetProjection()          newproj = self.__GetProjection()
152    
153          if newproj is not None:          if newproj is not None:
154              proj.SetProjection(newproj)              projfile.Replace(proj, newproj)
155              try:              try:
156                  WriteProjFile(projfile)                  WriteProjFile(projfile)
157              except IOError, (errno, errstr):              except IOError, (errno, errstr):
158                  self.__ShowError(projfile.GetFilename(), errstr)                  self.__ShowError(projfile.GetFilename(), errstr)
159                self.availprojs.SetClientData([newproj, projfile])
160    
161      def _OnAddToList(self, event):      def _OnAddToList(self, event):
162    

Legend:
Removed from v.757  
changed lines
  Added in v.760

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26