mirror of https://codeberg.org/cage/tinmop/
- [GUI] ensured the address bar is updated whan a link has been clicked.
This commit is contained in:
parent
8ea9177f91
commit
2b19e708d9
|
@ -252,8 +252,11 @@
|
||||||
(gen-ir-access pre-alt-text)
|
(gen-ir-access pre-alt-text)
|
||||||
|
|
||||||
(defun link-click-mouse-1-callback-clsr (link-value main-window &key (use-cache t))
|
(defun link-click-mouse-1-callback-clsr (link-value main-window &key (use-cache t))
|
||||||
(lambda ()
|
(with-accessors ((tool-bar tool-bar)) main-window
|
||||||
(open-iri link-value main-window use-cache)))
|
(with-accessors ((iri-entry iri-entry)) tool-bar
|
||||||
|
(lambda ()
|
||||||
|
(setf (gui:text iri-entry) link-value)
|
||||||
|
(open-iri link-value main-window use-cache)))))
|
||||||
|
|
||||||
(defun absolutize-link (request-iri link-value)
|
(defun absolutize-link (request-iri link-value)
|
||||||
(let ((parsed-request-iri (iri:iri-parse request-iri)))
|
(let ((parsed-request-iri (iri:iri-parse request-iri)))
|
||||||
|
|
Loading…
Reference in New Issue