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

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

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

revision 591 by bh, Fri Mar 14 20:42:18 2003 UTC revision 592 by bh, Wed Apr 2 18:26:12 2003 UTC
# Line 191  class ThubanApplication(wxApp, Publisher Line 191  class ThubanApplication(wxApp, Publisher
191          self.SetSession(create_empty_session())          self.SetSession(create_empty_session())
192    
193      def OpenSession(self, filename):      def OpenSession(self, filename):
194            """Open the session in the file named filename"""
195            # Make sure we deal with an absolute pathname. Otherwise we can
196            # get problems when saving because the saving code expects an
197            # absolute directory name
198            filename = os.path.abspath(filename)
199          session = load_session(filename)          session = load_session(filename)
200          session.SetFilename(filename)          session.SetFilename(filename)
201          session.UnsetModified()          session.UnsetModified()

Legend:
Removed from v.591  
changed lines
  Added in v.592

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26