From 37811a2157a962f15010c9f11bf0b708f6123cd8 Mon Sep 17 00:00:00 2001 From: Burt P Date: Wed, 3 Jul 2019 18:01:27 -0500 Subject: shell/report: icon cache using css Only include one copy of each icon in the source, by using css class rather than img with src for each instance. Signed-off-by: Burt P --- includes/report.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/report.h b/includes/report.h index cd7034da..f2f279f6 100644 --- a/includes/report.h +++ b/includes/report.h @@ -63,7 +63,8 @@ struct _ReportContext { gboolean show_column_headers; guint columns, parent_columns; GHashTable *column_titles; - GHashTable *icons; + GHashTable *icon_refs; + GHashTable *icon_data; }; struct _ReportDialog { -- cgit v1.2.3