summary refs log tree commit diff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-01-12 21:59:01 +0100
committerLudovic Courtès <ludo@gnu.org>2020-01-12 23:26:39 +0100
commit9ced0f376bb7d4b9351a03da2415e26126b6418c (patch)
tree6f865b625889ec6b6facbd6144c9516ad7795a31 /gnu/packages/tex.scm
parent1e44ae6fe71e374cb8a497faab51157752514815 (diff)
downloadguix-9ced0f376bb7d4b9351a03da2415e26126b6418c.tar.gz
installer: Add an "Edit" button on the final page.
Fixes <https://bugs.gnu.org/36885>.
Reported by <lukasbf@tutanota.com>.

* gnu/installer/newt/page.scm (edit-file): New procedure.
(run-file-textbox-page): Add #:edit-button? and #:editor-locale
parameters.  Remove 'file-text' and add 'edit-button', and add it
to the horizontal stacked grid when EXIT-BUTTON? is true.  Wrap
body in 'loop'.  Handle case where ARGUMENT is EDIT-BUTTON by calling
'loop'.
* gnu/installer/newt/final.scm (run-config-display-page): Add #:locale
parameter.  Pass #:edit-button? and #:editor-locale to
'run-file-textbox-page'.
(run-final-page): Pass LOCALE to 'run-config-display-page'.
Diffstat (limited to 'gnu/packages/tex.scm')
0 files changed, 0 insertions, 0 deletions