[GRASS-git] [OSGeo/grass] 87bfc1: wxGUI/pyedit: Add recent files history menu (#1021)

Tomas Zigo noreply at github.com
Thu Nov 19 13:16:42 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 87bfc114122499e384b7a11dbcf7bc588872ccd6
      https://github.com/OSGeo/grass/commit/87bfc114122499e384b7a11dbcf7bc588872ccd6
  Author: Tomas Zigo <50632337+tmszi at users.noreply.github.com>
  Date:   2020-11-19 (Thu, 19 Nov 2020)

  Changed paths:
    M gui/wxpython/gui_core/menu.py
    M gui/wxpython/gui_core/pyedit.py

  Log Message:
  -----------
  wxGUI/pyedit: Add recent files history menu (#1021)

The history is stored in .grass7/.file_history file under [pyedit] key as file1=... file2=... The file and format is managed
by wxPython, but it is in the .grass7 directory and it is generic format enough to be read in other contexts.

The history management is meant to be reusable for other components.




More information about the grass-commit mailing list