/[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 592 by bh, Wed Apr 2 18:26:12 2003 UTC revision 699 by bh, Thu Apr 17 15:20:14 2003 UTC
# Line 64  class ThubanApplication(wxApp, Publisher Line 64  class ThubanApplication(wxApp, Publisher
64          self.session.Destroy()          self.session.Destroy()
65          Publisher.Destroy(self)          Publisher.Destroy(self)
66    
     def MainLoop(self):  
         """Call the inherited MainLoop method and then call OnExit.  
   
         In wxPython OnExit isn't called automatically, unfortunately, so  
         we do it here.  
         """  
         wxApp.MainLoop(self)  
         self.OnExit()  
   
67      def read_startup_files(self):      def read_startup_files(self):
68          """Read the startup files."""          """Read the startup files."""
69          # for now the startup file is ~/.thuban/thubanstart.py          # for now the startup file is ~/.thuban/thubanstart.py
# Line 88  class ThubanApplication(wxApp, Publisher Line 79  class ThubanApplication(wxApp, Publisher
79                          # The ImportError exception was raised from                          # The ImportError exception was raised from
80                          # inside the thubanstart module.                          # inside the thubanstart module.
81                          sys.stderr.write(_("Cannot import the thubanstart"                          sys.stderr.write(_("Cannot import the thubanstart"
82                                           "module\n"))                                           " module\n"))
83                          traceback.print_exc(None, sys.stderr)                          traceback.print_exc(None, sys.stderr)
84                      else:                      else:
85                          # There's no thubanstart module.                          # There's no thubanstart module.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26