/[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 1393 by jonathan, Thu Jul 10 14:54:41 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")

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26