[GRASS-SVN] r38346 - grass-addons/vector/v.krige
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 10 08:38:57 EDT 2009
Author: aghisla
Date: 2009-07-10 08:38:56 -0400 (Fri, 10 Jul 2009)
New Revision: 38346
Modified:
grass-addons/vector/v.krige/v.krige.py
Log:
update list of input maps without slowing down interface - succeeded, at last.
Modified: grass-addons/vector/v.krige/v.krige.py
===================================================================
--- grass-addons/vector/v.krige/v.krige.py 2009-07-10 12:03:51 UTC (rev 38345)
+++ grass-addons/vector/v.krige/v.krige.py 2009-07-10 12:38:56 UTC (rev 38346)
@@ -240,8 +240,6 @@
self.InputDataMap = gselect.VectorSelect(parent = self,
ftype = 'points',
updateOnPopup = False)
- #@FIXME: still does slow down interface creation. Thread? Put it elsewhere?
- wx.CallAfter(self.InputDataMap.GetElementList)
flexSizer.Add(item = self.InputDataMap)
flexSizer.Add(item = wx.StaticText(self, id=wx.ID_ANY, label=_("Column:")),
@@ -311,6 +309,7 @@
Sizer.Add(OutputSizer, proportion=0, flag=wx.EXPAND | wx.ALL, border=self.border)
Sizer.Add(ButtonSizer, proportion=0, flag=wx.ALIGN_RIGHT | wx.ALL, border=self.border)
self.SetSizerAndFit(Sizer)
+ self.InputDataMap.GetElementList()
def CreatePage(self, package):
""" Creates the three notebook pages, one for each R package """
@@ -365,7 +364,6 @@
self.Panel = KrigingPanel(self)
self.SetMinSize(self.GetBestSize())
self.SetSize(self.GetBestSize())
-
class Log:
""" The log output is redirected to the status bar of the containing frame. """
@@ -470,6 +468,7 @@
k.Centre()
k.Show()
app.MainLoop()
+
else:
print argv
options, flags = argv
More information about the grass-commit
mailing list