1
0
Fork 0

- [gemini] fixed a regression, display again source of a gemini file.

This commit is contained in:
cage 2020-10-24 14:22:09 +02:00
parent a8b5524fcb
commit 9adf79a65b
2 changed files with 2 additions and 1 deletions

View File

@ -560,6 +560,7 @@
(when-let* ((metadata (message-window:metadata window))
(source (gemini-metadata-source-file metadata))
(last (misc:safe-last-elt (gemini-metadata-history metadata))))
(misc:dbg "source ~a" source)
(setf (message-window:source-text window) source)
(draw window)
(ui:info-message (format nil (_ "Viewing source of: ~a") last))))

View File

@ -983,7 +983,7 @@
(gemini-viewer:append-metadata-source window-metadata source))
(progn
(setf (message-window:source-text win) rendered-text)
(setf (gemini-viewer:gemini-metadata-source-file window-metadata) rendered-text)
(setf (gemini-viewer:gemini-metadata-source-file window-metadata) source)
(setf (gemini-viewer:gemini-metadata-links window-metadata) links)))))
(defmethod process-event ((object gemini-got-line-event))