diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-01-03 08:38:42 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-01-03 09:02:44 +0200 |
commit | 016a4eff9ee552bd8d60564aaf1699242da6eab9 (patch) | |
tree | e7ef8b479fbc351965a9ab73b749bdba8eb81f45 | |
parent | 97f196d943906f03b9ad106957be0790b6544fbb (diff) |
Updating the navbar URL when opening tabs
-rw-r--r-- | res/about/version.gmi | 2 | ||||
-rw-r--r-- | src/ui/documentwidget.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/res/about/version.gmi b/res/about/version.gmi index 12fb63f7..c1f7c8b3 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi | |||
@@ -14,6 +14,8 @@ | |||
14 | * Fixed parts of text disappearing when the glyph cache fills up. | 14 | * Fixed parts of text disappearing when the glyph cache fills up. |
15 | 15 | ||
16 | ## 1.0.2 | 16 | ## 1.0.2 |
17 | * Fixed URL input field showing the wrong URL when opening tabs in the background. | ||
18 | * Fixed trusting a renewed server certificate when multiple tabs are open. | ||
17 | * Fixed opening sidebar feed entries in new/background tab with modifier keys. | 19 | * Fixed opening sidebar feed entries in new/background tab with modifier keys. |
18 | * Fixed editing identity notes. The entered new notes were not being applied. | 20 | * Fixed editing identity notes. The entered new notes were not being applied. |
19 | * Server certificate domain name check accepts a matching CN even when SAN doesn't match. | 21 | * Server certificate domain name check accepts a matching CN even when SAN doesn't match. |
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index b6bfe948..e3e9ce61 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1704,7 +1704,7 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
1704 | updateVisible_DocumentWidget_(d); | 1704 | updateVisible_DocumentWidget_(d); |
1705 | updateSideIconBuf_DocumentWidget_(d); | 1705 | updateSideIconBuf_DocumentWidget_(d); |
1706 | updateOutline_DocumentWidget_(d); | 1706 | updateOutline_DocumentWidget_(d); |
1707 | postCommandf_App("document.changed url:%s", cstr_String(d->mod.url)); | 1707 | postCommandf_App("document.changed doc:%p url:%s", d, cstr_String(d->mod.url)); |
1708 | /* Check for a pending goto. */ | 1708 | /* Check for a pending goto. */ |
1709 | if (!isEmpty_String(&d->pendingGotoHeading)) { | 1709 | if (!isEmpty_String(&d->pendingGotoHeading)) { |
1710 | scrollToHeading_DocumentWidget_(d, cstr_String(&d->pendingGotoHeading)); | 1710 | scrollToHeading_DocumentWidget_(d, cstr_String(&d->pendingGotoHeading)); |
@@ -3278,7 +3278,7 @@ void setUrlFromCache_DocumentWidget(iDocumentWidget *d, const iString *url, iBoo | |||
3278 | } | 3278 | } |
3279 | } | 3279 | } |
3280 | else { | 3280 | else { |
3281 | postCommandf_App("document.changed url:%s", cstr_String(d->mod.url)); | 3281 | postCommandf_App("document.changed doc:%p url:%s", d, cstr_String(d->mod.url)); |
3282 | } | 3282 | } |
3283 | } | 3283 | } |
3284 | 3284 | ||