/[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 1309 by jonathan, Thu Jun 26 17:00:44 2003 UTC revision 1448 by jonathan, Thu Jul 17 14:59:41 2003 UTC
# Line 663  class MainWindow(DockFrame): Line 663  class MainWindow(DockFrame):
663          else:          else:
664              dialog.Show(not dialog.IsShown())              dialog.Show(not dialog.IsShown())
665    
         self.canvas.FitMapToWindow()  
   
666      def LegendShown(self):      def LegendShown(self):
667          """Return true iff the legend is currently open"""          """Return true iff the legend is currently open"""
668          dialog = self.FindRegisteredDock("legend")          dialog = self.FindRegisteredDock("legend")
# Line 740  class MainWindow(DockFrame): Line 738  class MainWindow(DockFrame):
738                                                 table)                                                 table)
739              self.add_dialog(name, dialog)              self.add_dialog(name, dialog)
740              dialog.Show(True)              dialog.Show(True)
741          # FIXME: else bring dialog to front          dialog.Raise()
742    
743      def TableRename(self):      def TableRename(self):
744          """Let the user rename a table"""          """Let the user rename a table"""

Legend:
Removed from v.1309  
changed lines
  Added in v.1448

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26