/[thuban]/branches/WIP-pyshapelib-bramz/Extensions/wms/infodialog.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Extensions/wms/infodialog.py

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

trunk/thuban/Extensions/wms/infodialog.py revision 2157 by joey, Sun Apr 11 16:19:34 2004 UTC branches/WIP-pyshapelib-bramz/Extensions/wms/infodialog.py revision 2734 by bramz, Thu Mar 1 12:42:59 2007 UTC
# Line 19  Line 19 
19  """  """
20  Information dialog to display various information about a WMS layer.  Information dialog to display various information about a WMS layer.
21    
22  class wmsInfoDialog(NonModalDialog):  class wmsInfoDialog(ThubanFrame):
23      __init__      __init__
24    
25      dialog_layout(text)      dialog_layout(text)
# Line 48  class wmsInfoDialog(ThubanFrame): Line 48  class wmsInfoDialog(ThubanFrame):
48      This dialog will display the title of the WMS resource      This dialog will display the title of the WMS resource
49      """      """
50    
51      def __init__(self, parent, name, title, layer):      def __init__(self, parent, name, layer, *args, **kw):
52          """          """
53          Build the information dialog          Build the information dialog
54          """          """
55            title = _("WMS Information")
56          ThubanFrame.__init__(self, parent, name, title)          ThubanFrame.__init__(self, parent, name, title)
57    
58          self.dialog_layout(self.calcText(layer))          self.dialog_layout(self.calcText(layer))

Legend:
Removed from v.2157  
changed lines
  Added in v.2734

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26