/[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 110 by jan, Sun Apr 21 17:28:16 2002 UTC revision 119 by frank, Fri Apr 26 09:30:41 2002 UTC
# Line 304  class MainWindow(wxFrame): Line 304  class MainWindow(wxFrame):
304                             wxOK | wxICON_INFORMATION)                             wxOK | wxICON_INFORMATION)
305    
306      def AddLayer(self):      def AddLayer(self):
307          dlg = wxFileDialog(self, "Select a session file", ".", "", "*.*",          dlg = wxFileDialog(self, "Select a data file", ".", "", "*.*",
308                             wxOPEN)                             wxOPEN)
309          if dlg.ShowModal() == wxID_OK:          if dlg.ShowModal() == wxID_OK:
310              filename = dlg.GetPath()              filename = dlg.GetPath()
# Line 521  _tool_command("map_identify_tool", "&Ide Line 521  _tool_command("map_identify_tool", "&Ide
521                helptext = "Switch to map-mode 'identify'", icon = "identify")                helptext = "Switch to map-mode 'identify'", icon = "identify")
522  _tool_command("map_label_tool", "&Label", "LabelTool", "LabelTool",  _tool_command("map_label_tool", "&Label", "LabelTool", "LabelTool",
523                helptext = "Add/Remove labels", icon = "label")                helptext = "Add/Remove labels", icon = "label")
 #_tool_command("map_full_extent", "&Full extent", "FullExtent", "FullExtent",  
 #              helptext = "Full Extent", icon = "fullextent")  
524  _method_command("map_full_extent", "&Full extent", "FullExtent",  _method_command("map_full_extent", "&Full extent", "FullExtent",
525                 helptext = "Full Extent", icon = "fullextent")                 helptext = "Full Extent", icon = "fullextent")
526  _method_command("map_print", "Prin&t", "PrintMap", helptext = "Print the map")  _method_command("map_print", "Prin&t", "PrintMap", helptext = "Print the map")

Legend:
Removed from v.110  
changed lines
  Added in v.119

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26