diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-09-15 22:20:49 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-09-15 22:20:49 +0100 |
commit | dc48c0c22fb9612a464429d851b502a0d5718790 (patch) | |
tree | d6da1a4b4e4bdc6f4f27f1c7b89ac640d357a670 /frontends/gtk/toolbar.h | |
parent | acbc73624be2962b58ebba50cd9d42b5ee1c10b7 (diff) | |
download | netsurf-dc48c0c22fb9612a464429d851b502a0d5718790.tar.gz netsurf-dc48c0c22fb9612a464429d851b502a0d5718790.tar.bz2 |
construct all toolbar items from data table
This changes toolbar item constuction to use toolbar_items.h
instead of explicit macros.
Additionally all remenants of old stock item themeing are done
away with and GTK icon names are used instead.
Diffstat (limited to 'frontends/gtk/toolbar.h')
-rw-r--r-- | frontends/gtk/toolbar.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/frontends/gtk/toolbar.h b/frontends/gtk/toolbar.h index b699898b9..e895d0b13 100644 --- a/frontends/gtk/toolbar.h +++ b/frontends/gtk/toolbar.h @@ -43,6 +43,7 @@ nserror nsgtk_toolbar_create(GtkBuilder *builder, struct browser_window *(*get_b */ nserror nsgtk_toolbar_destroy(struct nsgtk_toolbar *toolbar); + /** * Update the toolbar items being shown based on current settings * @@ -51,6 +52,7 @@ nserror nsgtk_toolbar_destroy(struct nsgtk_toolbar *toolbar); */ nserror nsgtk_toolbar_update(struct nsgtk_toolbar *tb); + /** * Update toolbar style and size based on current settings * @@ -111,10 +113,6 @@ nserror nsgtk_toolbar_item_activate(struct nsgtk_toolbar *tb, nsgtk_toolbar_butt */ nserror nsgtk_toolbar_show(struct nsgtk_toolbar *tb, bool show); -/** - * sets up the images for scaffolding. - */ -void nsgtk_theme_implement(struct nsgtk_scaffolding *g); /** * Initialise customization of toolbar entries |