[GRASS-git] [OSGeo/grass] 32bb3d: Reflect grassdb changes in catalog (#994)
Anna Petrasova
noreply at github.com
Tue Nov 17 20:14:56 PST 2020
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass
Commit: 32bb3de1aa6488dc56fe070977f0b08103f87e28
https://github.com/OSGeo/grass/commit/32bb3de1aa6488dc56fe070977f0b08103f87e28
Author: Anna Petrasova <kratochanna at gmail.com>
Date: 2020-11-17 (Tue, 17 Nov 2020)
Changed paths:
M gui/wxpython/core/gconsole.py
M gui/wxpython/core/giface.py
M gui/wxpython/datacatalog/tree.py
M gui/wxpython/lmgr/frame.py
M gui/wxpython/lmgr/giface.py
M gui/wxpython/lmgr/layertree.py
M gui/wxpython/modules/mcalc_builder.py
M gui/wxpython/rdigit/controller.py
Log Message:
-----------
Reflect grassdb changes in catalog (#994)
Introduces new signal to update catalog tree when a change in grass database happened.
So far it covers cases when a new map is created through running a module (from command line or dialog), imports, mapcalc.
Also updates tree when new mapset/location is created from menu. Here it changes behavior, it doesn't automatically switch to the new mapset.
Additionally it uses python watchdog library to observe current mapset to reflect changes from terminal or other sources not covered by mechanism above. Only current mapset is observed because there is a low default limit on how many files can be watched. Watchdog is not part of standard Python lib but can be installed through pip.
More information about the grass-commit
mailing list