[GRASS-SVN] r67594 - grass-addons/grass7/gui/wxpython/wx.metadata/mdlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 18 00:18:17 PST 2016
Author: krejcmat
Date: 2016-01-18 00:18:17 -0800 (Mon, 18 Jan 2016)
New Revision: 67594
Modified:
grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/cswlib.py
Log:
addons g.gui.cswbrowser: allows to show 'response,request' for unsuccessful task
Modified: grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/cswlib.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/cswlib.py 2016-01-16 19:47:30 UTC (rev 67593)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/cswlib.py 2016-01-18 08:18:17 UTC (rev 67594)
@@ -186,8 +186,9 @@
size=wx.DefaultSize,
style=HW_DEFAULT_STYLE | HW_SCROLLBAR_AUTO,
name="metadata")
+ self.htmlView.SetBorders(5)
self.htmlView.Bind(EVT_HTML_LINK_CLICKED, self.onHtmlLinkClicked)
- # self.htmlView=wx.html2.WebView.New(self.pnlRight, not supported in 2.8.12.1
+ # self.htmlView=wx.html2.WebView.New(self.pnlRight, not supported in wx 2.8.12.1
self.refreshNavigationButt()
self._layout()
@@ -559,7 +560,7 @@
data_url = item_data['wms']
service = ['r.in.gdal', 'r.in.wms', 'Add web service layer']
dlg = wx.SingleChoiceDialog(
- self, 'Choice of module for WMS service ', 'Service module',
+ self, 'Choice of module for WMS ', 'Web Service selection',
service,
wx.CHOICEDLG_STYLE)
@@ -580,7 +581,7 @@
data_url = item_data['wfs']
service = ['v.in.ogr', 'v.in.wfs', 'Add web service layer']
dlg = wx.SingleChoiceDialog(
- self, 'Choice module of WFS service ', 'Service module',
+ self, 'Choice of module for WFS ', 'Web Service selection',
service,
wx.CHOICEDLG_STYLE
)
@@ -657,11 +658,10 @@
except Exception, err:
GError('Connection error: %s' % err)
return
-
if self.catalog.results['matches'] == 0:
self.findResNumLbl.SetLabel('0 results')
+ self.refreshNavigationButt(True)
return
-
self.refreshNavigationButt(True)
self.displyResults()
@@ -1023,6 +1023,9 @@
self.catalog_url = self.config.Read('%s/url' % key)
+ if self.cswBrowser:
+ self.parent.BrowserPanel.loadSettings()
+
if not self._get_csw():
return
More information about the grass-commit
mailing list