Browse Source

show 'busy' mouse cursor while fetching addons list

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48185 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 13 years ago
parent
commit
d868cccfc4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      gui/wxpython/gui_modules/ghelp.py

+ 2 - 0
gui/wxpython/gui_modules/ghelp.py

@@ -950,9 +950,11 @@ class InstallExtensionWindow(wx.Frame):
 
 
     def OnFetch(self, event):
     def OnFetch(self, event):
         """!Fetch list of available extensions"""
         """!Fetch list of available extensions"""
+        wx.BeginBusyCursor()
         self.SetStatusText(_("Fetching list of modules from GRASS-Addons SVN (be patient)..."), 0)
         self.SetStatusText(_("Fetching list of modules from GRASS-Addons SVN (be patient)..."), 0)
         self.tree.Load(url = self.repo.GetValue().strip(), full = self.fullDesc.IsChecked())
         self.tree.Load(url = self.repo.GetValue().strip(), full = self.fullDesc.IsChecked())
         self.SetStatusText("", 0)
         self.SetStatusText("", 0)
+        wx.EndBusyCursor()
 
 
     def OnItemActivated(self, event):
     def OnItemActivated(self, event):
         item = event.GetItem()
         item = event.GetItem()