[GRASS-git] [OSGeo/grass] 790d70: wxGUI: After creating new location, switch to PERM...

Linda Kladivova noreply at github.com
Mon Dec 21 12:04:43 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 790d70fee42a256541afda02cc7531b2e93b4e21
      https://github.com/OSGeo/grass/commit/790d70fee42a256541afda02cc7531b2e93b4e21
  Author: Linda Kladivova <49241681+lindakladivova at users.noreply.github.com>
  Date:   2020-12-21 (Mon, 21 Dec 2020)

  Changed paths:
    M gui/wxpython/datacatalog/catalog.py
    M gui/wxpython/datacatalog/infomanager.py
    M gui/wxpython/datacatalog/tree.py

  Log Message:
  -----------
  wxGUI: After creating new location, switch to PERMANENT and display infobar for first-time user (#1183)

After creating a new Location from Data tab, GUI switches to its PERMANENT mapset.

If the previous location was the demolocation (i.e., it was the active location when user created the new location), an info bar appears offering to import data using Import vector data or Import raster data buttons. This is assumed to be a second info bar which appears to the user navigating through the GUI from the the demolocation (world location).

This follows 37b39db0b967f513b8f636f1efb134655fe1aa19 (#1078).

The demolocation detection is based on the location name.

A signal is used in order to trigger the info bar for any location creation done in the Data tab (button, first-time user intro info bar, context menu).




More information about the grass-commit mailing list