joey: thuban/Extensions/wms properties.py,1.2,1.3

cvs@intevation.de cvs at intevation.de
Thu Dec 9 11:39:45 CET 2004


Author: joey

Update of /thubanrepository/thuban/Extensions/wms
In directory doto:/tmp/cvs-serv15114

Modified Files:
	properties.py 
Log Message:
Removed unused OpenWMSProperties() defun

Index: properties.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/wms/properties.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- properties.py	1 Oct 2004 18:28:04 -0000	1.2
+++ properties.py	9 Dec 2004 10:39:43 -0000	1.3
@@ -190,18 +190,3 @@
         Handle the 'Cancel button pressed' event
         """
         self.Close()
-
-
-def OpenWMSProperties(parent, layer):
-    """
-    Open or raise the WMS properties dialog
-    """
-    name = "layer_properties_" + layer.url
-    dialog = parent.get_open_dialog(name)
-
-    if dialog is None:
-        dialog = wmsProperties(parent, name, layer)
-        parent.add_dialog(name, dialog)
-        dialog.Show(True)
-    else:
-        dialog.Raise()





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)