/[thuban]/trunk/thuban/Thuban/UI/about.py
ViewVC logotype

Diff of /trunk/thuban/Thuban/UI/about.py

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

revision 1322 by jonathan, Thu Jun 26 16:59:41 2003 UTC revision 1323 by jonathan, Mon Jun 30 12:02:01 2003 UTC
# Line 6  Line 6 
6  # Read the file COPYING coming with Thuban for details.  # Read the file COPYING coming with Thuban for details.
7    
8  from wxPython.wx import *  from wxPython.wx import *
 #from wxPython.wx import __version__ as wxPython_version  
9    
10  from Thuban import _  from Thuban import _
 #import Thuban.version  
11  from Thuban.version import versions  from Thuban.version import versions
12    
 #from sqlite import version as pysqlite_version  
 #from _sqlite import sqlite_version  
   
 #from wxproj import get_proj_version, get_gtk_version  
   
 #from  Thuban.Model.resource import has_gdal_support  
   
 #if has_gdal_support():  
 #    from gdalwarp import get_gdal_version  
   
13  class About(wxDialog):  class About(wxDialog):
14    
15      def __init__(self, parent):      def __init__(self, parent):
# Line 33  class About(wxDialog): Line 21  class About(wxDialog):
21                    | wxRESIZE_BORDER,                    | wxRESIZE_BORDER,
22              size = (400, 250))              size = (400, 250))
23    
         #proj_ver = get_proj_version()  
         #if proj_ver:  
             #proj_ver = "%d.%d.%d" % proj_ver  
         #else:  
             #proj_ver = " - not available"  
   
         #gtk_ver = get_gtk_version()  
         #if gtk_ver:  
             #gtk_ver = "%d.%d.%d" % gtk_ver  
         #else:  
             #gtk_ver = " - not available"  
   
24          text = _(#"Build Date: %s\n"          text = _(#"Build Date: %s\n"
25              "%s\n\n"              "%s\n\n"
26              "Currently using:\n"              "Currently using:\n"
# Line 57  class About(wxDialog): Line 33  class About(wxDialog):
33              "\t%s\n"              "\t%s\n"
34              "\t%s\n\n"              "\t%s\n\n"
35              "Lead Developer:\n"              "Lead Developer:\n"
36              "\tBernhard Herzog <[email protected]>\n\n"              "\tBernhard Herzog\n\n"
37              "Developers:\n"              "Developers:\n"
38              "\tJonathan Coles\n"              "\tJonathan Coles\n"
39              "\tFrank Koormann\n"              "\tFrank Koormann\n"
# Line 65  class About(wxDialog): Line 41  class About(wxDialog):
41              "\tJan-Oliver Wagner\n\n"              "\tJan-Oliver Wagner\n\n"
42              "Contributors:\n"              "Contributors:\n"
43              "\tJonathan Byron\n"              "\tJonathan Byron\n"
44              "\tMartin M�ller"              "\tMartin M�ller\n\n"
45                "Questions and comments can be sent to the following addresses:\n"
46                "\tThuban developers:\n\t\t<[email protected]>\n"
47                "\tThuban mailing list:\n\t\t<[email protected]>"
48              % ("Thuban %s"      % versions['thuban-long'],              % ("Thuban %s"      % versions['thuban-long'],
49                 "wxPython %s"    % versions['wxPython'],                 "wxPython %s"    % versions['wxPython'],
50                 "Python %s"      % versions['python'],                 "Python %s"      % versions['python'],
51                 "PySQLite %s"    % versions['pysqlite'],                 "PySQLite %s"    % versions['pysqlite'],
52                 "SQLite %s"      % versions['sqlite'],                 "SQLite %s"      % versions['sqlite'],
53                 "GDAL %s"        % versions.get('gdal', " - not available"),                 "GDAL %s"        % versions.get('gdal', "- not available"),
54                 "GTK %s"         % versions.get('gtk', " - not available"),                 "GTK %s"         % versions.get('gtk', "- not available"),
55                 "proj %s"        % versions['proj']))                 "proj %s"        % versions['proj']))
56    
57          self.text = text          self.text = text

Legend:
Removed from v.1322  
changed lines
  Added in v.1323

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26