diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-08-20 23:33:38 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-09-21 10:53:41 +0100 |
commit | dd767acfee416a65e67193a9740d2b636b868e11 (patch) | |
tree | ddbd349ccfc3f8ae31117b915b7dab1fab89824d /frontends/gtk/toolbar.h | |
parent | 02c75d07900d4566a8b2f835fb07a4eff1ab8235 (diff) | |
download | netsurf-dd767acfee416a65e67193a9740d2b636b868e11.tar.gz netsurf-dd767acfee416a65e67193a9740d2b636b868e11.tar.bz2 |
make toolbar url entry display url
Diffstat (limited to 'frontends/gtk/toolbar.h')
-rw-r--r-- | frontends/gtk/toolbar.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/frontends/gtk/toolbar.h b/frontends/gtk/toolbar.h index 2744d1f66..57320d362 100644 --- a/frontends/gtk/toolbar.h +++ b/frontends/gtk/toolbar.h @@ -56,12 +56,21 @@ nserror nsgtk_toolbar_update(struct nsgtk_toolbar *tb); * Start or stop a throbber in a toolbar * * \param toolbar A toolbar returned from a creation - * \param active Trie if the throbber animation should play. + * \param active True if the throbber animation should play. * \return NSERROR_OK on success */ nserror nsgtk_toolbar_throbber(struct nsgtk_toolbar *tb, bool active); /** + * Update the toolbar url entry + * + * \param toolbar A toolbar returned from a creation + * \param url The URL to set + * \return NSERROR_OK on success + */ +nserror nsgtk_toolbar_set_url(struct nsgtk_toolbar *tb, nsurl *url); + +/** * sets up the images for scaffolding. */ void nsgtk_theme_implement(struct nsgtk_scaffolding *g); |