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

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

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

revision 19 by bh, Tue Sep 4 15:11:27 2001 UTC revision 226 by bh, Thu Jul 18 16:26:11 2002 UTC
# Line 1  Line 1 
1  #! /usr/bin/python  #! /usr/bin/python
2  # Copyright (C) 2001 by Intevation GmbH  # Copyright (C) 2001, 2002 by Intevation GmbH
3  # Authors:  # Authors:
4  # Jan-Oliver Wagner <[email protected]>  # Jan-Oliver Wagner <[email protected]>
5  # Bernhard Herzog <[email protected]>  # Bernhard Herzog <[email protected]>
# Line 34  from application import ThubanApplicatio Line 34  from application import ThubanApplicatio
34    
35  def main():  def main():
36      """Instantiate the application object and run the application"""      """Instantiate the application object and run the application"""
     global app  
37      app = ThubanApplication(0)      app = ThubanApplication(0)
38      if len(sys.argv) > 1:      if len(sys.argv) > 1:
39          app.OpenSession(sys.argv[1])          app.OpenSession(sys.argv[1])
40        app.top.ShowSessionTree()
41      app.MainLoop()      app.MainLoop()

Legend:
Removed from v.19  
changed lines
  Added in v.226

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26