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

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

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

revision 1164 by jonathan, Thu Jun 12 12:41:44 2003 UTC revision 1287 by jonathan, Mon Jun 23 10:47:11 2003 UTC
# Line 13  The main window Line 13  The main window
13    
14  __version__ = "$Revision$"  __version__ = "$Revision$"
15    
16  __ThubanVersion__ = "0.2" #"$THUBAN_0_2$"  __ThubanVersion__ = "0.8" #"$THUBAN_0_2$"
17  #__BuildDate__ = "$Date$"  #__BuildDate__ = "$Date$"
18    
19  import os  import os
# Line 107  class MainWindow(DockFrame): Line 107  class MainWindow(DockFrame):
107    
108          self.init_dialogs()          self.init_dialogs()
109    
110            self.ShowLegend()
111    
112          EVT_CLOSE(self, self.OnClose)          EVT_CLOSE(self, self.OnClose)
113    
114      def Subscribe(self, channel, *args):      def Subscribe(self, channel, *args):
# Line 443  class MainWindow(DockFrame): Line 445  class MainWindow(DockFrame):
445    
446      def About(self):      def About(self):
447          self.RunMessageBox(_("About"),          self.RunMessageBox(_("About"),
448                             _("Thuban %s\n"                             _("Thuban %s\n\n"
449                              #"Build Date: %s\n"                              #"Build Date: %s\n"
450                              "using:\n"                              "Currently using:\n"
451                              "  %s\n"                              "  %s\n"
452                              "  %s\n\n"                              "  %s\n\n"
453                              "Thuban is a program for\n"                              "Thuban is a program for\n"
# Line 577  class MainWindow(DockFrame): Line 579  class MainWindow(DockFrame):
579      def LayerShowTable(self):      def LayerShowTable(self):
580          layer = self.current_layer()          layer = self.current_layer()
581          if layer is not None:          if layer is not None:
582              table = layer.table              table = layer.ShapeStore().Table()
583              name = "table_view" + str(id(table))              name = "table_view" + str(id(table))
584              dialog = self.get_open_dialog(name)              dialog = self.get_open_dialog(name)
585              if dialog is None:              if dialog is None:

Legend:
Removed from v.1164  
changed lines
  Added in v.1287

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26