From 11aa682154af6e0d4c7920bb2983df5a6ded126f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 15 Sep 2019 22:20:49 +0100 Subject: 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. --- frontends/gtk/toolbar.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'frontends/gtk/toolbar.h') 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 -- cgit v1.2.3