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 /src/ui/documentwidget.c | |
parent | 97f196d943906f03b9ad106957be0790b6544fbb (diff) |
Updating the navbar URL when opening tabs
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||