diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-02-22 15:47:17 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-02-22 15:47:17 +0000 |
commit | c9e5fa9bc12252ba9dedf35a8b219423dea7ba44 (patch) | |
tree | d685d3108170ecf8d459e8eac1764788c075f305 /frontends/gtk/toolbar.c | |
parent | a016445a8265a03719d52c49e069c7f6914c7e4d (diff) | |
download | netsurf-c9e5fa9bc12252ba9dedf35a8b219423dea7ba44.tar.gz netsurf-c9e5fa9bc12252ba9dedf35a8b219423dea7ba44.tar.bz2 |
GTK: Ensure that we don't frob the URL bar from the scaffold
To correctly refocus the location box on tab switching we
need to not update the url of the tab when the scaffold updates
its global context.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'frontends/gtk/toolbar.c')
-rw-r--r-- | frontends/gtk/toolbar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/gtk/toolbar.c b/frontends/gtk/toolbar.c index f2b1d05c8..16e5f1f6d 100644 --- a/frontends/gtk/toolbar.c +++ b/frontends/gtk/toolbar.c @@ -3592,6 +3592,9 @@ nserror nsgtk_toolbar_throbber(struct nsgtk_toolbar *tb, bool active) browser_window_history_forward_available(bw)); nsgtk_local_history_hide(); + /* update the url bar, for the final time */ + browser_window_refresh_url_bar(bw); + return res; } |