mirror of https://codeberg.org/cage/tinmop/
- [gemini] fixed a regression, display again source of a gemini file.
This commit is contained in:
parent
a8b5524fcb
commit
9adf79a65b
|
@ -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))))
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue