/[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 218 by bh, Tue Jul 16 15:26:06 2002 UTC revision 219 by bh, Thu Jul 18 12:55:07 2002 UTC
# Line 85  class ThubanApplication(wxApp, Publisher Line 85  class ThubanApplication(wxApp, Publisher
85              # There's no .thuban directory              # There's no .thuban directory
86              sys.stderr.write("No ~/.thuban directory\n")              sys.stderr.write("No ~/.thuban directory\n")
87    
88        def Session(self):
89            """Return the application's session object"""
90            return self.session
91    
92      def SetSession(self, session):      def SetSession(self, session):
93            """Make session the new session.
94    
95            Issue SESSION_CHANGED.
96            """
97          oldsession = self.session          oldsession = self.session
98          self.session = session          self.session = session
99          self.issue(SESSION_CHANGED)          self.issue(SESSION_CHANGED)

Legend:
Removed from v.218  
changed lines
  Added in v.219

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26