[GRASS-git] [OSGeo/grass] 264837: wxGUI/startup: fix terminate location download dia...

Tomas Zigo noreply at github.com
Mon Aug 3 09:04:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 2648374bf1226c56bc761b2da4a984cea3a6a273
      https://github.com/OSGeo/grass/commit/2648374bf1226c56bc761b2da4a984cea3a6a273
  Author: Tomas Zigo <50632337+tmszi at users.noreply.github.com>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

  Changed paths:
    M gui/wxpython/core/gthread.py
    M gui/wxpython/gis_set.py
    M gui/wxpython/startup/guiutils.py
    M gui/wxpython/startup/locdownload.py

  Log Message:
  -----------
  wxGUI/startup: fix terminate location download dialog download thread (#832)

* wxGUI/startup: don't set message wx widget string if location download dialog is destroyed
* wxGUI/core: replace set/reset stop flag for terminate thread with traces (urlretrieve runned from thread can't terminate with stop flag)
* wxGUI/startup: avoid printing annoying wx debug message on location download dialog start-up
* wxGUI/startup: change 'Download' button label to 'Abort' after start downloading, and allow terminate download thread correctly
* wxGUI/startup: handle location download dialog urlretrieve HTTPError, URLError exception
* wxGUI/startup: add string translation function
* wxGUI/startup: set location download dialog download button mnemonic label
* wxGUI/startup: fix close location download modal dialog
* wxGUI/startup: fix location download dialog 'Cancel' and 'Download' button layout
* wxGUI/startup: centre location download modal dialog




More information about the grass-commit mailing list