[GRASS-git] [OSGeo/grass] 50cd8f: wxGUI: Ask user about shell only when present (#1219)

Vaclav Petras noreply at github.com
Fri Feb 5 18:34:52 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 50cd8fcdf4ead3956852567057b8c62fb6179438
      https://github.com/OSGeo/grass/commit/50cd8fcdf4ead3956852567057b8c62fb6179438
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M gui/wxpython/core/utils.py
    M gui/wxpython/docs/wxGUI.html
    M gui/wxpython/gui_core/dialogs.py
    M gui/wxpython/lmgr/frame.py

  Log Message:
  -----------
  wxGUI: Ask user about shell only when present (#1219)

Introduces two new functions to check for shell presence and PID.
The environment is accessed twice now, to construct the dialog and to end the shell.

Default button is now Quit.

Shell/terminal/prompt is not just called shell because that's really what is being ended.

Updates outdated doc to new behavior. The doc described some previous state, not the current state before this change.

The section is restructured and changed to be about GUI and CLI rather than starting
otherwise it is confusing for a reader studying GUI as a primary or first-contact interface
of GRASS GIS.




More information about the grass-commit mailing list